Added remaining apache license headers
diff --git a/Vagrantfile b/Vagrantfile
index 8f4ce73..93bc12f 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#   http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # -*- mode: ruby -*-
 # vi: set ft=ruby :
 
diff --git a/app_mgr/migrations/0005_auto_20161012_1441.py b/app_mgr/migrations/0005_auto_20161012_1441.py
index 9bc9626..b9f8be1 100644
--- a/app_mgr/migrations/0005_auto_20161012_1441.py
+++ b/app_mgr/migrations/0005_auto_20161012_1441.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#   http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 # -*- coding: utf-8 -*-
 # Generated by Django 1.9.7 on 2016-10-12 18:41
 from __future__ import unicode_literals
diff --git a/app_mgr/models.py b/app_mgr/models.py
index ca7d735..4533163 100755
--- a/app_mgr/models.py
+++ b/app_mgr/models.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#   http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 from django.db import models
 from django.conf import settings
 from django.contrib.postgres.fields import JSONField
diff --git a/app_mgr/templates/index.html b/app_mgr/templates/index.html
index fc706b4..7e5463e 100644
--- a/app_mgr/templates/index.html
+++ b/app_mgr/templates/index.html
@@ -1,3 +1,18 @@
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License. -->
+
 <!DOCTYPE html>
 <html lang="en">
 <head>
diff --git a/app_mgr/templates/main.html b/app_mgr/templates/main.html
index fc706b4..7e5463e 100644
--- a/app_mgr/templates/main.html
+++ b/app_mgr/templates/main.html
@@ -1,3 +1,18 @@
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License. -->
+
 <!DOCTYPE html>
 <html lang="en">
 <head>
diff --git a/docker/db/sql.sh b/docker/db/sql.sh
index a19a249..4de31b5 100755
--- a/docker/db/sql.sh
+++ b/docker/db/sql.sh
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#   http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 #!/bin/bash
 
 echo "Creating POSTGRES DB FROM ENVIRONMENT"
diff --git a/es/data/SensSoft/nodes/0/indices/.kibana/0/index/write.lock b/es/data/SensSoft/nodes/0/indices/.kibana/0/index/write.lock
deleted file mode 100644
index e69de29..0000000
--- a/es/data/SensSoft/nodes/0/indices/.kibana/0/index/write.lock
+++ /dev/null
diff --git a/es/data/SensSoft/nodes/0/indices/.kibana/0/translog/translog.ckp b/es/data/SensSoft/nodes/0/indices/.kibana/0/translog/translog.ckp
deleted file mode 100644
index caab9ab..0000000
--- a/es/data/SensSoft/nodes/0/indices/.kibana/0/translog/translog.ckp
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/index/_0.cfe b/es/data/SensSoft/nodes/0/indices/userale/0/index/_0.cfe
deleted file mode 100644
index 9fcccdb..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/index/_0.cfe
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/index/_0.cfs b/es/data/SensSoft/nodes/0/indices/userale/0/index/_0.cfs
deleted file mode 100644
index 128b200..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/index/_0.cfs
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/index/_0.si b/es/data/SensSoft/nodes/0/indices/userale/0/index/_0.si
deleted file mode 100644
index 3597da1..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/index/_0.si
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/index/_1.cfe b/es/data/SensSoft/nodes/0/indices/userale/0/index/_1.cfe
deleted file mode 100644
index c45b521..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/index/_1.cfe
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/index/_1.cfs b/es/data/SensSoft/nodes/0/indices/userale/0/index/_1.cfs
deleted file mode 100644
index 7e027a2..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/index/_1.cfs
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/index/_1.si b/es/data/SensSoft/nodes/0/indices/userale/0/index/_1.si
deleted file mode 100644
index 8932228..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/index/_1.si
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/index/write.lock b/es/data/SensSoft/nodes/0/indices/userale/0/index/write.lock
deleted file mode 100644
index e69de29..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/index/write.lock
+++ /dev/null
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-10.ckp b/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-10.ckp
deleted file mode 100644
index 6a54c78..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-10.ckp
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-10.tlog b/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-10.tlog
deleted file mode 100644
index af7e0af..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-10.tlog
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-11.ckp b/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-11.ckp
deleted file mode 100644
index 3d1ec1b..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-11.ckp
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-11.tlog b/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-11.tlog
deleted file mode 100644
index af7e0af..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-11.tlog
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-12.tlog b/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-12.tlog
deleted file mode 100644
index af7e0af..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-12.tlog
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-9.ckp b/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-9.ckp
deleted file mode 100644
index bb5a549..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-9.ckp
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-9.tlog b/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-9.tlog
deleted file mode 100644
index af7e0af..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog-9.tlog
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog.ckp b/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog.ckp
deleted file mode 100644
index c71cb5f..0000000
--- a/es/data/SensSoft/nodes/0/indices/userale/0/translog/translog.ckp
+++ /dev/null
Binary files differ
diff --git a/es/data/SensSoft/nodes/0/node.lock b/es/data/SensSoft/nodes/0/node.lock
deleted file mode 100644
index e69de29..0000000
--- a/es/data/SensSoft/nodes/0/node.lock
+++ /dev/null
diff --git a/es/logs/SensSoft.log b/es/logs/SensSoft.log
deleted file mode 100644
index f4e930d..0000000
--- a/es/logs/SensSoft.log
+++ /dev/null
@@ -1,61 +0,0 @@
-[2016-11-22 15:10:23,171][WARN ][bootstrap                ] unable to install syscall filter: seccomp unavailable: your kernel is buggy and you should upgrade
-[2016-11-22 15:10:24,954][INFO ][node                     ] [soft-01] version[2.3.5], pid[1], build[90f439f/2016-07-27T10:36:52Z]
-[2016-11-22 15:10:24,955][INFO ][node                     ] [soft-01] initializing ...
-[2016-11-22 15:10:30,698][INFO ][plugins                  ] [soft-01] modules [reindex, lang-expression, lang-groovy], plugins [hq], sites [hq]
-[2016-11-22 15:10:30,946][INFO ][env                      ] [soft-01] using [1] data paths, mounts [[/usr/share/elasticsearch/data (osxfs)]], net usable_space [851.7gb], net total_space [930.7gb], spins? [possibly], types [fuse.osxfs]
-[2016-11-22 15:10:30,952][INFO ][env                      ] [soft-01] heap size [1007.3mb], compressed ordinary object pointers [true]
-[2016-11-22 15:10:47,727][INFO ][node                     ] [soft-01] initialized
-[2016-11-22 15:10:47,762][INFO ][node                     ] [soft-01] starting ...
-[2016-11-22 15:10:48,557][INFO ][transport                ] [soft-01] publish_address {172.18.0.3:9300}, bound_addresses {[::]:9300}
-[2016-11-22 15:10:48,615][INFO ][discovery                ] [soft-01] SensSoft/LCYH0KGRSvK1v7K7i8eqFQ
-[2016-11-22 15:10:52,076][INFO ][cluster.service          ] [soft-01] new_master {soft-01}{LCYH0KGRSvK1v7K7i8eqFQ}{172.18.0.3}{172.18.0.3:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
-[2016-11-22 15:10:52,159][INFO ][http                     ] [soft-01] publish_address {172.18.0.3:9200}, bound_addresses {[::]:9200}
-[2016-11-22 15:10:52,163][INFO ][node                     ] [soft-01] started
-[2016-11-22 15:10:52,776][INFO ][gateway                  ] [soft-01] recovered [2] indices into cluster_state
-[2016-11-22 15:10:56,056][INFO ][cluster.routing.allocation] [soft-01] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[userale][0], [userale][0]] ...]).
-[2016-11-22 16:06:42,818][WARN ][bootstrap                ] unable to install syscall filter: seccomp unavailable: your kernel is buggy and you should upgrade
-[2016-11-22 16:06:45,173][INFO ][node                     ] [soft-01] version[2.3.5], pid[1], build[90f439f/2016-07-27T10:36:52Z]
-[2016-11-22 16:06:45,175][INFO ][node                     ] [soft-01] initializing ...
-[2016-11-22 16:06:49,204][INFO ][plugins                  ] [soft-01] modules [reindex, lang-expression, lang-groovy], plugins [hq], sites [hq]
-[2016-11-22 16:06:49,577][INFO ][env                      ] [soft-01] using [1] data paths, mounts [[/usr/share/elasticsearch/data (osxfs)]], net usable_space [850.6gb], net total_space [930.7gb], spins? [possibly], types [fuse.osxfs]
-[2016-11-22 16:06:49,579][INFO ][env                      ] [soft-01] heap size [1007.3mb], compressed ordinary object pointers [true]
-[2016-11-22 16:07:00,937][INFO ][node                     ] [soft-01] initialized
-[2016-11-22 16:07:00,943][INFO ][node                     ] [soft-01] starting ...
-[2016-11-22 16:07:01,289][INFO ][transport                ] [soft-01] publish_address {172.18.0.2:9300}, bound_addresses {[::]:9300}
-[2016-11-22 16:07:01,313][INFO ][discovery                ] [soft-01] SensSoft/c04SHgONT3KPJM-ksseDLw
-[2016-11-22 16:07:04,552][INFO ][cluster.service          ] [soft-01] new_master {soft-01}{c04SHgONT3KPJM-ksseDLw}{172.18.0.2}{172.18.0.2:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
-[2016-11-22 16:07:04,644][INFO ][http                     ] [soft-01] publish_address {172.18.0.2:9200}, bound_addresses {[::]:9200}
-[2016-11-22 16:07:04,648][INFO ][node                     ] [soft-01] started
-[2016-11-22 16:07:05,140][INFO ][gateway                  ] [soft-01] recovered [2] indices into cluster_state
-[2016-11-22 16:07:07,609][INFO ][cluster.routing.allocation] [soft-01] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] ...]).
-[2016-11-22 16:11:00,768][WARN ][bootstrap                ] unable to install syscall filter: seccomp unavailable: your kernel is buggy and you should upgrade
-[2016-11-22 16:11:01,312][INFO ][node                     ] [soft-01] version[2.3.5], pid[1], build[90f439f/2016-07-27T10:36:52Z]
-[2016-11-22 16:11:01,312][INFO ][node                     ] [soft-01] initializing ...
-[2016-11-22 16:11:06,155][INFO ][plugins                  ] [soft-01] modules [reindex, lang-expression, lang-groovy], plugins [hq], sites [hq]
-[2016-11-22 16:11:06,424][INFO ][env                      ] [soft-01] using [1] data paths, mounts [[/usr/share/elasticsearch/data (osxfs)]], net usable_space [850.6gb], net total_space [930.7gb], spins? [possibly], types [fuse.osxfs]
-[2016-11-22 16:11:06,435][INFO ][env                      ] [soft-01] heap size [1007.3mb], compressed ordinary object pointers [true]
-[2016-11-22 16:11:22,008][INFO ][node                     ] [soft-01] initialized
-[2016-11-22 16:11:22,010][INFO ][node                     ] [soft-01] starting ...
-[2016-11-22 16:11:22,803][INFO ][transport                ] [soft-01] publish_address {172.18.0.2:9300}, bound_addresses {[::]:9300}
-[2016-11-22 16:11:22,837][INFO ][discovery                ] [soft-01] SensSoft/-hNCN3eyQbe4uexdnWW1vg
-[2016-11-22 16:11:26,820][INFO ][cluster.service          ] [soft-01] new_master {soft-01}{-hNCN3eyQbe4uexdnWW1vg}{172.18.0.2}{172.18.0.2:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
-[2016-11-22 16:11:27,079][INFO ][http                     ] [soft-01] publish_address {172.18.0.2:9200}, bound_addresses {[::]:9200}
-[2016-11-22 16:11:27,089][INFO ][node                     ] [soft-01] started
-[2016-11-22 16:11:27,681][INFO ][gateway                  ] [soft-01] recovered [2] indices into cluster_state
-[2016-11-22 16:11:29,204][INFO ][cluster.routing.allocation] [soft-01] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[userale][0], [.kibana][0]] ...]).
-[2016-11-22 19:13:21,557][WARN ][bootstrap                ] unable to install syscall filter: seccomp unavailable: your kernel is buggy and you should upgrade
-[2016-11-22 19:13:22,314][INFO ][node                     ] [soft-01] version[2.3.5], pid[1], build[90f439f/2016-07-27T10:36:52Z]
-[2016-11-22 19:13:22,316][INFO ][node                     ] [soft-01] initializing ...
-[2016-11-22 19:13:28,392][INFO ][plugins                  ] [soft-01] modules [reindex, lang-expression, lang-groovy], plugins [hq], sites [hq]
-[2016-11-22 19:13:31,307][INFO ][env                      ] [soft-01] using [1] data paths, mounts [[/usr/share/elasticsearch/data (osxfs)]], net usable_space [859.5gb], net total_space [930.7gb], spins? [possibly], types [fuse.osxfs]
-[2016-11-22 19:13:31,308][INFO ][env                      ] [soft-01] heap size [1007.3mb], compressed ordinary object pointers [true]
-[2016-11-22 19:13:45,314][INFO ][node                     ] [soft-01] initialized
-[2016-11-22 19:13:45,317][INFO ][node                     ] [soft-01] starting ...
-[2016-11-22 19:13:45,536][INFO ][transport                ] [soft-01] publish_address {172.18.0.2:9300}, bound_addresses {[::]:9300}
-[2016-11-22 19:13:45,555][INFO ][discovery                ] [soft-01] SensSoft/zRqe54w5QwaHhUjZ1znO1w
-[2016-11-22 19:13:48,917][INFO ][cluster.service          ] [soft-01] new_master {soft-01}{zRqe54w5QwaHhUjZ1znO1w}{172.18.0.2}{172.18.0.2:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
-[2016-11-22 19:13:49,093][INFO ][http                     ] [soft-01] publish_address {172.18.0.2:9200}, bound_addresses {[::]:9200}
-[2016-11-22 19:13:49,097][INFO ][node                     ] [soft-01] started
-[2016-11-22 19:13:49,352][INFO ][gateway                  ] [soft-01] recovered [0] indices into cluster_state
-[2016-11-22 19:13:57,884][INFO ][cluster.metadata         ] [soft-01] [.kibana] creating index, cause [api], templates [], shards [1]/[1], mappings [config]
-[2016-11-22 19:13:58,697][INFO ][cluster.routing.allocation] [soft-01] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.kibana][0]] ...]).
diff --git a/es/logs/SensSoft_deprecation.log b/es/logs/SensSoft_deprecation.log
deleted file mode 100644
index e69de29..0000000
--- a/es/logs/SensSoft_deprecation.log
+++ /dev/null
diff --git a/es/logs/SensSoft_index_indexing_slowlog.log b/es/logs/SensSoft_index_indexing_slowlog.log
deleted file mode 100644
index e69de29..0000000
--- a/es/logs/SensSoft_index_indexing_slowlog.log
+++ /dev/null
diff --git a/es/logs/SensSoft_index_search_slowlog.log b/es/logs/SensSoft_index_search_slowlog.log
deleted file mode 100644
index e69de29..0000000
--- a/es/logs/SensSoft_index_search_slowlog.log
+++ /dev/null
diff --git a/package.json b/package.json
index df9329d..6240991 100644
--- a/package.json
+++ b/package.json
@@ -1,3 +1,18 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements.  See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 {
   "name": "tap",
   "description": "Tap, The Software as a Sensor portal and visualization component",
diff --git a/stylesheets/main.scss b/stylesheets/main.scss
index f2f62be..00e669a 100644
--- a/stylesheets/main.scss
+++ b/stylesheets/main.scss
@@ -1,29 +1,17 @@
-// Licensed to the Apache Software Foundation (ASF) under one or more
-// contributor license agreements.  See the NOTICE file distributed with
-// this work for additional information regarding copyright ownership.
-// The ASF licenses this file to You under the Apache License, Version 2.0
-// (the "License"); you may not use this file except in compliance with
-// the License.  You may obtain a copy of the License at
-//
-//   http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+/*Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
 
-/*$brown: #A76B00;
-$black: #271900;
-$background: #FFF5E3;
-*/
+  http://www.apache.org/licenses/LICENSE-2.0
 
-/*
-$red            : #E24614;
-$yellow         : #DBA915;
-$green          : #BFD02C;
-$blue           : #38A6D8;
-$purple         : #852EB7;*/
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.*/
 
 $teal           : #283F4E;
 $white          : #F9F9F9;
diff --git a/tap/middleware.py b/tap/middleware.py
index d69ac55..5f09d6f 100644
--- a/tap/middleware.py
+++ b/tap/middleware.py
@@ -13,7 +13,6 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-
 # Disabling CSRF
 # Solution found at
 #   http://stackoverflow.com/questions/30871033/django-rest-framework-remove-csrf/33778953#33778953
diff --git a/tap/settings.py b/tap/settings.py
index 2a2b16e..f318a5b 100644
--- a/tap/settings.py
+++ b/tap/settings.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#   http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 """
     Django settings for tap project.
     
diff --git a/tap/settings/archive/secret2.py b/tap/settings/archive/secret2.py
deleted file mode 100644
index 492f0d6..0000000
--- a/tap/settings/archive/secret2.py
+++ /dev/null
@@ -1,12 +0,0 @@
-"""
-Secret Django settings for tap project.
-"""
-
-# SECURITY WARNING: keep the secret key used in production secret!
-MY_SECRET_KEY = 'ro4o76lktk+x)0^fwp^(tua76p2y$p_2*19$gnk8+!)k^er0p='
-MY_DB_NAME = 'tapdb'
-MY_DB_USER = 'tapuser'
-MY_DB_PASSWORD = 'Dr@p3rUs3r'
-
-MY_EMAIL_PASSWORD =''
-ADMIN_EMAILS = (('Steve', 'syork@draper.com'))
diff --git a/tap/settings/archive/settings2.py b/tap/settings/archive/settings2.py
deleted file mode 100644
index 92626d3..0000000
--- a/tap/settings/archive/settings2.py
+++ /dev/null
@@ -1,135 +0,0 @@
-"""
-Django settings for tap project.
-
-Generated by 'django-admin startproject' using Django 1.9.7.
-
-For more information on this file, see
-https://docs.djangoproject.com/en/1.9/topics/settings/
-
-For the full list of settings and their values, see
-https://docs.djangoproject.com/en/1.9/ref/settings/
-"""
-
-import os
-
-# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
-BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
-
-
-# Quick-start development settings - unsuitable for production
-# See https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/
-
-# SECURITY WARNING: keep the secret key used in production secret!
-SECRET_KEY = 'm^7q3z0x9q%)fb6^lo(=%=$=5+g7h2(w8pfhxi0pw_#)xnw(!9'
-
-# SECURITY WARNING: don't run with debug turned on in production!
-DEBUG = True
-
-ALLOWED_HOSTS = []
-
-
-# Application definition
-
-INSTALLED_APPS = [
-    'appmgr.apps.AppmgrConfig',
-    'django.contrib.admin',
-    'django.contrib.auth',
-    'django.contrib.contenttypes',
-    'django.contrib.sessions',
-    'django.contrib.messages',
-    'django.contrib.staticfiles',
-    #'grappelli',
-]
-
-MIDDLEWARE_CLASSES = [
-    'django.middleware.security.SecurityMiddleware',
-    'django.contrib.sessions.middleware.SessionMiddleware',
-    'django.middleware.common.CommonMiddleware',
-    'django.middleware.csrf.CsrfViewMiddleware',
-    'django.contrib.auth.middleware.AuthenticationMiddleware',
-    'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
-    'django.contrib.messages.middleware.MessageMiddleware',
-    'django.middleware.clickjacking.XFrameOptionsMiddleware',
-]
-
-ROOT_URLCONF = 'tap.urls'
-
-TEMPLATES = [
-    {
-        'BACKEND': 'django.template.backends.django.DjangoTemplates',
-        'DIRS': [
-            os.path.join(BASE_DIR, 'templates'),
-        ],
-        'APP_DIRS': True,
-        'OPTIONS': {
-            'context_processors': [
-                'django.template.context_processors.debug',
-                'django.template.context_processors.request',
-                'django.contrib.auth.context_processors.auth',
-                'django.contrib.messages.context_processors.messages',
-            ],
-        },
-    },
-]
-
-WSGI_APPLICATION = 'tap.wsgi.application'
-
-
-# Database
-# https://docs.djangoproject.com/en/1.9/ref/settings/#databases
-
-DATABASES = {
-    'default': {
-        'ENGINE': 'django.db.backends.postgresql_psycopg2',
-        'NAME': 'tapdb',
-        'USER': 'tapuser',
-        'PASSWORD': 'Dr@perUs3r!',
-        'HOST': 'localhost',
-        'PORT': '',
-    }
-}
-
-
-# Password validation
-# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators
-
-AUTH_PASSWORD_VALIDATORS = [
-    {
-        'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
-    },
-    {
-        'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
-    },
-    {
-        'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
-    },
-    {
-        'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
-    },
-]
-
-
-# Internationalization
-# https://docs.djangoproject.com/en/1.9/topics/i18n/
-
-LANGUAGE_CODE = 'en-us'
-
-TIME_ZONE = 'UTC'
-
-USE_I18N = True
-
-USE_L10N = True
-
-USE_TZ = True
-
-
-# Static files (CSS, JavaScript, Images)
-# https://docs.djangoproject.com/en/1.9/howto/static-files/
-
-STATIC_URL = '/static/'
-
-# STATIC_ROOT = os.path.join(BASE_DIR, "static/")
-
-STATICFILES_DIRS = (
-    os.path.join(BASE_DIR, "static"),
-)
diff --git a/tap/settings/base.py b/tap/settings/base.py
index f32367b..369aeef 100644
--- a/tap/settings/base.py
+++ b/tap/settings/base.py
@@ -12,6 +12,7 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
+
 """
 Django settings for tap project.
 
diff --git a/tap/settings/settings.py b/tap/settings/settings.py
index 09691d2..84aa4b2 100755
--- a/tap/settings/settings.py
+++ b/tap/settings/settings.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#   http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 """
     Django settings for tap project.
     
diff --git a/tap/templates/index.html b/tap/templates/index.html
index fc706b4..9603fe8 100644
--- a/tap/templates/index.html
+++ b/tap/templates/index.html
@@ -1,3 +1,17 @@
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License. -->
 <!DOCTYPE html>
 <html lang="en">
 <head>
diff --git a/vagrant/provision_as_root.sh b/vagrant/provision_as_root.sh
index 5d0458b..dd5d3b5 100644
--- a/vagrant/provision_as_root.sh
+++ b/vagrant/provision_as_root.sh
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#   http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 #!/bin/bash
 
 date >> /etc/vagrant_provisioned_at
diff --git a/vagrant/provision_as_vagrant.sh b/vagrant/provision_as_vagrant.sh
index 8016e5a..4e2b1c8 100644
--- a/vagrant/provision_as_vagrant.sh
+++ b/vagrant/provision_as_vagrant.sh
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#   http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 #!/bin/bash
 BASHRC="/home/vagrant/.bashrc"
 PROFILE="/home/vagrant/.profile"
diff --git a/vagrant/provision_databases.sh b/vagrant/provision_databases.sh
index 0944264..7aedf5a 100644
--- a/vagrant/provision_databases.sh
+++ b/vagrant/provision_databases.sh
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#   http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 #!/bin/bash
 
 # Restore Django PostgreSQL database
diff --git a/vagrant/settings.py b/vagrant/settings.py
index caa6344..eb2c7f7 100644
--- a/vagrant/settings.py
+++ b/vagrant/settings.py
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+
+#   http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
 """
 Django settings for tap project.