browser: adding copyright headers and licensing files
Change-Id: I3910daf2f0c3f35501b7b27a0d32ed08758c289b
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..574583c
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,9 @@
+# This is the official list of Vanadium authors for copyright purposes.
+# This file is distinct from the CONTRIBUTORS files.
+# See the latter for an explanation.
+
+# Names should be added to this file as:
+# Name or Organization <email address>
+# The email address is not required for organizations.
+
+# Please keep the list sorted.
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
new file mode 100644
index 0000000..e9c7bdb
--- /dev/null
+++ b/CONTRIBUTORS
@@ -0,0 +1,32 @@
+# This is the official list of people who can contribute
+# (and typically have contributed) code to the Vanadium repository.
+# The AUTHORS file lists the copyright holders; this file
+# lists people. For example, Google employees are listed here
+# but not in AUTHORS, because Google holds the copyright.
+#
+# The submission process automatically checks to make sure
+# that people submitting code are listed in this file (by email address).
+#
+# Names should be added to this file only after verifying that
+# the individual or the individual's organization has agreed to
+# the appropriate Contributor License Agreement, found here:
+#
+# http://code.google.com/legal/individual-cla-v1.0.html
+# http://code.google.com/legal/corporate-cla-v1.0.html
+#
+# The agreement for individuals can be filled out on the web.
+#
+# When adding J Random Contributor's name to this file,
+# either J's name or J's organization's name should be
+# added to the AUTHORS file, depending on whether the
+# individual or corporate CLA was used.
+
+# Names should be added to this file like so:
+# Name <email address>
+#
+# An entry with two email addresses specifies that the
+# first address should be used in the submit logs and
+# that the second address should be recognized as the
+# same person when interacting with Rietveld.
+
+# Please keep the list sorted.
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..411db13
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,27 @@
+Copyright (c) 2015 The Vanadium Authors. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/PATENTS b/PATENTS
new file mode 100644
index 0000000..d52cc55
--- /dev/null
+++ b/PATENTS
@@ -0,0 +1,22 @@
+Additional IP Rights Grant (Patents)
+
+"This implementation" means the copyrightable works distributed by
+Google as part of the Vanadium project.
+
+Google hereby grants to You a perpetual, worldwide, non-exclusive,
+no-charge, royalty-free, irrevocable (except as stated in this section)
+patent license to make, have made, use, offer to sell, sell, import,
+transfer and otherwise run, modify and propagate the contents of this
+implementation of Vanadium, where such license applies only to those patent
+claims, both currently owned or controlled by Google and acquired in
+the future, licensable by Google that are necessarily infringed by this
+implementation of Vanadium. This grant does not include claims that would be
+infringed only as a consequence of further modification of this
+implementation. If you or your agent or exclusive licensee institute or
+order or agree to the institution of patent litigation against any
+entity (including a cross-claim or counterclaim in a lawsuit) alleging
+that this implementation of Vanadium or any code incorporated within this
+implementation of Vanadium constitutes direct or contributory patent
+infringement, or inducement of patent infringement, then any patent
+rights granted to you under this License for this implementation of Vanadium
+shall terminate as of the date such litigation is filed.
diff --git a/VERSION b/VERSION
new file mode 100644
index 0000000..6d6ff85
--- /dev/null
+++ b/VERSION
@@ -0,0 +1 @@
+v23-0.1
diff --git a/css-transform.js b/css-transform.js
index ae2ad44..dfefd25 100644
--- a/css-transform.js
+++ b/css-transform.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var through2 = require('through2');
var path = require('path');
var rework = require('rework');
diff --git a/go/src/runner/main.go b/go/src/runner/main.go
index 6b6c63c..c94d58e 100644
--- a/go/src/runner/main.go
+++ b/go/src/runner/main.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package main
import (
diff --git a/go/src/sample/mocks/alarm.go b/go/src/sample/mocks/alarm.go
index d67a8af..5b32bba 100644
--- a/go/src/sample/mocks/alarm.go
+++ b/go/src/sample/mocks/alarm.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package mocks
import (
diff --git a/go/src/sample/mocks/lightswitch.go b/go/src/sample/mocks/lightswitch.go
index 43df7c7..77cd381 100644
--- a/go/src/sample/mocks/lightswitch.go
+++ b/go/src/sample/mocks/lightswitch.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package mocks
import (
diff --git a/go/src/sample/mocks/petfeeder.go b/go/src/sample/mocks/petfeeder.go
index 05c8803..8b34c24 100644
--- a/go/src/sample/mocks/petfeeder.go
+++ b/go/src/sample/mocks/petfeeder.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package mocks
import (
diff --git a/go/src/sample/mocks/poolheater.go b/go/src/sample/mocks/poolheater.go
index f3f3c5a..fc74e97 100644
--- a/go/src/sample/mocks/poolheater.go
+++ b/go/src/sample/mocks/poolheater.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package mocks
import (
diff --git a/go/src/sample/mocks/smokedetector.go b/go/src/sample/mocks/smokedetector.go
index 0f7988b..c8f5ad4 100644
--- a/go/src/sample/mocks/smokedetector.go
+++ b/go/src/sample/mocks/smokedetector.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package mocks
import (
diff --git a/go/src/sample/mocks/speaker.go b/go/src/sample/mocks/speaker.go
index 78c873f..4c22a1a 100644
--- a/go/src/sample/mocks/speaker.go
+++ b/go/src/sample/mocks/speaker.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package mocks
import (
diff --git a/go/src/sample/mocks/sprinkler.go b/go/src/sample/mocks/sprinkler.go
index d165ed1..c0972a1 100644
--- a/go/src/sample/mocks/sprinkler.go
+++ b/go/src/sample/mocks/sprinkler.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package mocks
import (
diff --git a/go/src/sample/sampled/main.go b/go/src/sample/sampled/main.go
index 08283a9..87e618b 100644
--- a/go/src/sample/sampled/main.go
+++ b/go/src/sample/sampled/main.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package main
import (
diff --git a/go/src/sample/sampleworld/sampleworld.go b/go/src/sample/sampleworld/sampleworld.go
index af51340..fb4f9a9 100644
--- a/go/src/sample/sampleworld/sampleworld.go
+++ b/go/src/sample/sampleworld/sampleworld.go
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
package sampleworld
import (
diff --git a/main-transform.js b/main-transform.js
index 8e03ea1..cbdbdd6 100644
--- a/main-transform.js
+++ b/main-transform.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var through2 = require('through2');
module.exports = transform;
diff --git a/md-transform.js b/md-transform.js
index 0dba111..b705bf1 100644
--- a/md-transform.js
+++ b/md-transform.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var parseMarkdown = require('marked');
var path = require('path');
var through2 = require('through2');
diff --git a/src/app.js b/src/app.js
index e38bc53..2012e91 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var uuid = require('uuid');
var mercury = require('mercury');
var vanadium = require('vanadium');
diff --git a/src/components/browse/bookmarks/index.js b/src/components/browse/bookmarks/index.js
index 477ec59..4c2b8ec 100644
--- a/src/components/browse/bookmarks/index.js
+++ b/src/components/browse/bookmarks/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var ItemCardList = require('../item-card-list/index');
diff --git a/src/components/browse/browse-namespace.js b/src/components/browse/browse-namespace.js
index a128d8d..5def136 100644
--- a/src/components/browse/browse-namespace.js
+++ b/src/components/browse/browse-namespace.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var Bookmarks = require('./bookmarks/index.js');
var Recommendations = require('./recommendations/index.js');
var Items = require('./items/index.js');
diff --git a/src/components/browse/get-namespace-suggestions.js b/src/components/browse/get-namespace-suggestions.js
index eb04016..5cb7186 100644
--- a/src/components/browse/get-namespace-suggestions.js
+++ b/src/components/browse/get-namespace-suggestions.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var log = require('../../lib/log')('components:browse:browse-children');
var namespaceService = require('../../services/namespace/service');
diff --git a/src/components/browse/get-service-icon.js b/src/components/browse/get-service-icon.js
index 97ad647..eb8c92e 100644
--- a/src/components/browse/get-service-icon.js
+++ b/src/components/browse/get-service-icon.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = getServiceIcon;
var ItemTypes = require('../../services/namespace/item-types');
diff --git a/src/components/browse/index.js b/src/components/browse/index.js
index cf15314..95225e3 100644
--- a/src/components/browse/index.js
+++ b/src/components/browse/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
diff --git a/src/components/browse/item-card-list/index.js b/src/components/browse/item-card-list/index.js
index be13478..24ae54f 100644
--- a/src/components/browse/item-card-list/index.js
+++ b/src/components/browse/item-card-list/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
diff --git a/src/components/browse/item-card-list/item-card/index.js b/src/components/browse/item-card-list/item-card/index.js
index 3bd2ea2..cf2dbad 100644
--- a/src/components/browse/item-card-list/item-card/index.js
+++ b/src/components/browse/item-card-list/item-card/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
var getServiceIcon = require('../../get-service-icon');
diff --git a/src/components/browse/item-details/bookmark.js b/src/components/browse/item-details/bookmark.js
index 3ca5427..0730026 100644
--- a/src/components/browse/item-details/bookmark.js
+++ b/src/components/browse/item-details/bookmark.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var bookmarksService = require('../../../services/bookmarks/service');
var log = require('../../../lib/log')(
diff --git a/src/components/browse/item-details/display-item-details.js b/src/components/browse/item-details/display-item-details.js
index 5dcb9b1..2756a7f 100644
--- a/src/components/browse/item-details/display-item-details.js
+++ b/src/components/browse/item-details/display-item-details.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var methodNameToVarHashKey = require('./methodNameToVarHashKey');
diff --git a/src/components/browse/item-details/format-detail.js b/src/components/browse/item-details/format-detail.js
index 4485a3d..3128ae9 100644
--- a/src/components/browse/item-details/format-detail.js
+++ b/src/components/browse/item-details/format-detail.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var log = require('../../../lib/log')(
'components:browse:item-details:format-detail');
diff --git a/src/components/browse/item-details/index.js b/src/components/browse/item-details/index.js
index dfffb57..c8eb8d9 100644
--- a/src/components/browse/item-details/index.js
+++ b/src/components/browse/item-details/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
diff --git a/src/components/browse/item-details/method-end.js b/src/components/browse/item-details/method-end.js
index 0f5f7c2..f2be62c 100644
--- a/src/components/browse/item-details/method-end.js
+++ b/src/components/browse/item-details/method-end.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var formatDetail = require('./format-detail');
var smartService = require('../../../services/smart/service');
diff --git a/src/components/browse/item-details/method-form/index.js b/src/components/browse/item-details/method-form/index.js
index c06af3a..888f1a2 100644
--- a/src/components/browse/item-details/method-form/index.js
+++ b/src/components/browse/item-details/method-form/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var _ = require('lodash');
var uuid = require('uuid');
diff --git a/src/components/browse/item-details/method-form/make-rpc.js b/src/components/browse/item-details/method-form/make-rpc.js
index 5cdacbf..c1b3093 100644
--- a/src/components/browse/item-details/method-form/make-rpc.js
+++ b/src/components/browse/item-details/method-form/make-rpc.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var namespaceService = require('../../../../services/namespace/service');
var log = require('../../../../lib/log')(
diff --git a/src/components/browse/item-details/method-start.js b/src/components/browse/item-details/method-start.js
index 57a6834..efa73d1 100644
--- a/src/components/browse/item-details/method-start.js
+++ b/src/components/browse/item-details/method-start.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var h = require('mercury').h;
diff --git a/src/components/browse/item-details/methodNameToVarHashKey.js b/src/components/browse/item-details/methodNameToVarHashKey.js
index dc8e670..61adfe4 100644
--- a/src/components/browse/item-details/methodNameToVarHashKey.js
+++ b/src/components/browse/item-details/methodNameToVarHashKey.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
/*
* Mercury VarHash has an issue where reserved keywords like 'delete', 'put'
* can not be used a hash keys :`(
diff --git a/src/components/browse/item-details/plugin-widget-adapter.js b/src/components/browse/item-details/plugin-widget-adapter.js
index 29549dd..fc18ff0 100644
--- a/src/components/browse/item-details/plugin-widget-adapter.js
+++ b/src/components/browse/item-details/plugin-widget-adapter.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = PluginWidgetAdapter;
// Map of plugin.id to previous names. This map allows up to
diff --git a/src/components/browse/item-details/plugins/default.js b/src/components/browse/item-details/plugins/default.js
index b6df1f9..8498b4c 100644
--- a/src/components/browse/item-details/plugins/default.js
+++ b/src/components/browse/item-details/plugins/default.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var h = require('mercury').h;
module.exports = {
diff --git a/src/components/browse/item-details/plugins/empty.js b/src/components/browse/item-details/plugins/empty.js
index dceccea..8a731c8 100644
--- a/src/components/browse/item-details/plugins/empty.js
+++ b/src/components/browse/item-details/plugins/empty.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var h = require('mercury').h;
module.exports = {
diff --git a/src/components/browse/item-details/plugins/error.js b/src/components/browse/item-details/plugins/error.js
index 2706995..f6c994c 100644
--- a/src/components/browse/item-details/plugins/error.js
+++ b/src/components/browse/item-details/plugins/error.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var h = require('mercury').h;
module.exports = {
diff --git a/src/components/browse/item-details/plugins/histogram.js b/src/components/browse/item-details/plugins/histogram.js
index e908eb6..f5fe4ae 100644
--- a/src/components/browse/item-details/plugins/histogram.js
+++ b/src/components/browse/item-details/plugins/histogram.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var h = require('mercury').h;
var histogram = require('bars');
diff --git a/src/components/browse/items/grid-view/index.js b/src/components/browse/items/grid-view/index.js
index da4f2fd..631f20b 100644
--- a/src/components/browse/items/grid-view/index.js
+++ b/src/components/browse/items/grid-view/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var namespaceUtil = require('../../../../services/namespace/service').util;
var ItemCardList = require('../../item-card-list/index');
diff --git a/src/components/browse/items/index.js b/src/components/browse/items/index.js
index 8af370f..92e6ecc 100644
--- a/src/components/browse/items/index.js
+++ b/src/components/browse/items/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var uuid = require('uuid');
diff --git a/src/components/browse/items/tree-view/expand.js b/src/components/browse/items/tree-view/expand.js
index 3b03758..53315a3 100644
--- a/src/components/browse/items/tree-view/expand.js
+++ b/src/components/browse/items/tree-view/expand.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var namespaceService = require('../../../../services/namespace/service');
var log = require('../../../../lib/log')(
diff --git a/src/components/browse/items/tree-view/index.js b/src/components/browse/items/tree-view/index.js
index b187f24..38ea2ba 100644
--- a/src/components/browse/items/tree-view/index.js
+++ b/src/components/browse/items/tree-view/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
var extend = require('extend');
diff --git a/src/components/browse/items/visualize-view/index.js b/src/components/browse/items/visualize-view/index.js
index 4038762..c83eff2 100644
--- a/src/components/browse/items/visualize-view/index.js
+++ b/src/components/browse/items/visualize-view/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
var d3 = require('d3');
diff --git a/src/components/browse/recommendations/index.js b/src/components/browse/recommendations/index.js
index 7e1e58e..a12e2a2 100644
--- a/src/components/browse/recommendations/index.js
+++ b/src/components/browse/recommendations/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var ItemCardList = require('../item-card-list/index');
diff --git a/src/components/bug-report/index.js b/src/components/bug-report/index.js
index e4b6b3b..f1524c6 100644
--- a/src/components/bug-report/index.js
+++ b/src/components/bug-report/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
diff --git a/src/components/debug/index.js b/src/components/debug/index.js
index 721896a..e18e370 100644
--- a/src/components/debug/index.js
+++ b/src/components/debug/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var store = require('../../lib/store');
var log = require('../../lib/log')('debug');
diff --git a/src/components/error/error-box/index.js b/src/components/error/error-box/index.js
index 67064e3..66b940f 100644
--- a/src/components/error/error-box/index.js
+++ b/src/components/error/error-box/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
diff --git a/src/components/error/index.js b/src/components/error/index.js
index 03bcf99..eec0c17 100644
--- a/src/components/error/index.js
+++ b/src/components/error/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
diff --git a/src/components/help/constants.js b/src/components/help/constants.js
index 2177386..64dc04a 100644
--- a/src/components/help/constants.js
+++ b/src/components/help/constants.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var helpRoute = require('../../routes/help');
var tabKeys = Object.freeze({
diff --git a/src/components/help/index.js b/src/components/help/index.js
index df09f2b..dc36ab5 100644
--- a/src/components/help/index.js
+++ b/src/components/help/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var h = mercury.h;
var insertCss = require('insert-css');
diff --git a/src/components/help/selectTab.js b/src/components/help/selectTab.js
index ddb4eb0..7536fad 100644
--- a/src/components/help/selectTab.js
+++ b/src/components/help/selectTab.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var sections = require('./constants').sections;
module.exports = selectTab;
diff --git a/src/components/main-content/index.js b/src/components/main-content/index.js
index f86411a..0d9d7a0 100644
--- a/src/components/main-content/index.js
+++ b/src/components/main-content/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
diff --git a/src/components/sidebar/index.js b/src/components/sidebar/index.js
index 48a2271..510beeb 100644
--- a/src/components/sidebar/index.js
+++ b/src/components/sidebar/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
var browseRoute = require('../../routes/browse');
diff --git a/src/components/user-account/index.js b/src/components/user-account/index.js
index 587b98a..1583660 100644
--- a/src/components/user-account/index.js
+++ b/src/components/user-account/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
diff --git a/src/components/viewport/index.js b/src/components/viewport/index.js
index 6d2516e..c7ba711 100644
--- a/src/components/viewport/index.js
+++ b/src/components/viewport/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var insertCss = require('insert-css');
diff --git a/src/item-plugins/register-plugins.js b/src/item-plugins/register-plugins.js
index ae5b0aa..7ce3502 100644
--- a/src/item-plugins/register-plugins.js
+++ b/src/item-plugins/register-plugins.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var pluginRegistry = require('./registry');
// TODO(aghassemi) Do it automatically at build time based on folder structure
diff --git a/src/item-plugins/registry.js b/src/item-plugins/registry.js
index 98e7b16..ec2152f 100644
--- a/src/item-plugins/registry.js
+++ b/src/item-plugins/registry.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var uuid = require('uuid');
module.exports = {
diff --git a/src/item-plugins/system/log-viewer/index.js b/src/item-plugins/system/log-viewer/index.js
index ffa12cd..eeedaa6 100644
--- a/src/item-plugins/system/log-viewer/index.js
+++ b/src/item-plugins/system/log-viewer/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var polymer = require('../../../lib/polymer');
var publishedProperties = {
diff --git a/src/item-plugins/system/log-viewer/plugin.js b/src/item-plugins/system/log-viewer/plugin.js
index 3519bee..e193f33 100644
--- a/src/item-plugins/system/log-viewer/plugin.js
+++ b/src/item-plugins/system/log-viewer/plugin.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
require('./index.js');
module.exports = {
diff --git a/src/lib/addAttributes.js b/src/lib/addAttributes.js
index ae82c64..9d29c1a 100644
--- a/src/lib/addAttributes.js
+++ b/src/lib/addAttributes.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = addAttributes;
/*
diff --git a/src/lib/arraySet.js b/src/lib/arraySet.js
index a817eaf..86b3e60 100644
--- a/src/lib/arraySet.js
+++ b/src/lib/arraySet.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = {
set: set,
add: add,
diff --git a/src/lib/exists.js b/src/lib/exists.js
index 44581d9..8297c83 100644
--- a/src/lib/exists.js
+++ b/src/lib/exists.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
/*
* Given a collection of objects, returns true if all of them exist
* Returns false as soon as one does not exist.
diff --git a/src/lib/extend-defaults.js b/src/lib/extend-defaults.js
index 88f30f1..671851d 100644
--- a/src/lib/extend-defaults.js
+++ b/src/lib/extend-defaults.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var extend = require('extend');
module.exports = extendDefaults;
diff --git a/src/lib/learning/perceptron.js b/src/lib/learning/perceptron.js
index 4f851df..aac1953 100644
--- a/src/lib/learning/perceptron.js
+++ b/src/lib/learning/perceptron.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var util = require('./util');
module.exports = {
diff --git a/src/lib/learning/rank.js b/src/lib/learning/rank.js
index fdf5357..aee7b6b 100644
--- a/src/lib/learning/rank.js
+++ b/src/lib/learning/rank.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var util = require('./util');
module.exports = {
diff --git a/src/lib/learning/util.js b/src/lib/learning/util.js
index 2f8b0f0..06daa4c 100644
--- a/src/lib/learning/util.js
+++ b/src/lib/learning/util.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = {
dotProduct: dotProduct,
norm: norm,
diff --git a/src/lib/log.js b/src/lib/log.js
index 03b442f..ec842db 100644
--- a/src/lib/log.js
+++ b/src/lib/log.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
/*
* DeLogger wraps the popular debug (github.com/visionmedia/debug) module and
* adds error and warning levels on top of debug.
diff --git a/src/lib/mercury/add-delegated-events.js b/src/lib/mercury/add-delegated-events.js
index 56437b4..dd1ea01 100644
--- a/src/lib/mercury/add-delegated-events.js
+++ b/src/lib/mercury/add-delegated-events.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
module.exports = addDelegatedEvents;
diff --git a/src/lib/mercury/freeze.js b/src/lib/mercury/freeze.js
index 60f086c..4d2bf80 100644
--- a/src/lib/mercury/freeze.js
+++ b/src/lib/mercury/freeze.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = freeze;
/*
diff --git a/src/lib/mercury/polymer-event.js b/src/lib/mercury/polymer-event.js
index b2773cf..7620bc7 100644
--- a/src/lib/mercury/polymer-event.js
+++ b/src/lib/mercury/polymer-event.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var BaseEvent = require('mercury').BaseEvent;
// export extended BaseEvent!
diff --git a/src/lib/mercury/property-value-event.js b/src/lib/mercury/property-value-event.js
index 0f1ea0a..0a6294c 100644
--- a/src/lib/mercury/property-value-event.js
+++ b/src/lib/mercury/property-value-event.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = PropertyValueEvent;
function PropertyValueEvent(sink, property, rawTypeIsCustom) {
diff --git a/src/lib/mercury/set-mercury-array.js b/src/lib/mercury/set-mercury-array.js
index 02e944d..44d2d01 100644
--- a/src/lib/mercury/set-mercury-array.js
+++ b/src/lib/mercury/set-mercury-array.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = setMercuryArray;
// TODO(alexfandrianto): observ-array's set() method works properly in 3.0.0,
diff --git a/src/lib/mercury/sorted-push-array.js b/src/lib/mercury/sorted-push-array.js
index af76a76..a53558c 100644
--- a/src/lib/mercury/sorted-push-array.js
+++ b/src/lib/mercury/sorted-push-array.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var _ = require('lodash');
module.exports = sortedPush;
diff --git a/src/lib/polymer.js b/src/lib/polymer.js
index 2bbf7c5..af3b37c 100644
--- a/src/lib/polymer.js
+++ b/src/lib/polymer.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
/*
* Exposes the Global polymer object asynchronously.
* This allows Polymer object to be used with browserify and we do not require
diff --git a/src/lib/store.js b/src/lib/store.js
index 6101282..32c6eb8 100644
--- a/src/lib/store.js
+++ b/src/lib/store.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
/*
* The store allows key-value store for string keys and any value.
*/
diff --git a/src/lib/stripFunctions.js b/src/lib/stripFunctions.js
index 1073f80..ab79d03 100644
--- a/src/lib/stripFunctions.js
+++ b/src/lib/stripFunctions.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = stripFunctions;
/*
diff --git a/src/router.js b/src/router.js
index da0f12b..b5d7635 100644
--- a/src/router.js
+++ b/src/router.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var Routes = require('routes');
var registerRoutes = require('./routes/register-routes');
diff --git a/src/routes/bookmarks.js b/src/routes/bookmarks.js
index 06e1675..9f23d9f 100644
--- a/src/routes/bookmarks.js
+++ b/src/routes/bookmarks.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = function(routes) {
routes.addRoute('/bookmarks', handleBookmarksRoute);
};
diff --git a/src/routes/browse.js b/src/routes/browse.js
index b22b3f4..8e7f76d 100644
--- a/src/routes/browse.js
+++ b/src/routes/browse.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var urlUtil = require('url');
var qsUtil = require('querystring');
diff --git a/src/routes/error.js b/src/routes/error.js
index 622da06..a519dc1 100644
--- a/src/routes/error.js
+++ b/src/routes/error.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = function(routes) {
routes.addRoute('/error', handleErrorRoute);
};
diff --git a/src/routes/help.js b/src/routes/help.js
index 7ddad1d..7f22a43 100644
--- a/src/routes/help.js
+++ b/src/routes/help.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var exists = require('../lib/exists');
module.exports = function(routes) {
diff --git a/src/routes/index.js b/src/routes/index.js
index ee4e506..6edee8f 100644
--- a/src/routes/index.js
+++ b/src/routes/index.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var browseRoute = require('./browse');
var store = require('../lib/store');
diff --git a/src/routes/recommendations.js b/src/routes/recommendations.js
index dfd491d..4f0f491 100644
--- a/src/routes/recommendations.js
+++ b/src/routes/recommendations.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = function(routes) {
routes.addRoute('/recommendation', handleRecommendationRoute);
routes.addRoute('/recent', handleRecommendationRoute);
diff --git a/src/routes/register-routes.js b/src/routes/register-routes.js
index 0c01d6c..0c2b2d7 100644
--- a/src/routes/register-routes.js
+++ b/src/routes/register-routes.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
module.exports = registerRoutes;
/*
diff --git a/src/services/bookmarks/service.js b/src/services/bookmarks/service.js
index 4054f13..b5c1d3b 100644
--- a/src/services/bookmarks/service.js
+++ b/src/services/bookmarks/service.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var _ = require('lodash');
var EventEmitter = require('events').EventEmitter;
diff --git a/src/services/namespace/interface-util.js b/src/services/namespace/interface-util.js
index 7056ad7..be6b62a 100644
--- a/src/services/namespace/interface-util.js
+++ b/src/services/namespace/interface-util.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var jsonStableStringify = require('json-stable-stringify');
module.exports = {
diff --git a/src/services/namespace/item-types.js b/src/services/namespace/item-types.js
index 1471bac..7b4e27f 100644
--- a/src/services/namespace/item-types.js
+++ b/src/services/namespace/item-types.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
/*
* Enum specifying different types of items we could have
*/
diff --git a/src/services/namespace/item.js b/src/services/namespace/item.js
index f38a31e..e3c159b 100644
--- a/src/services/namespace/item.js
+++ b/src/services/namespace/item.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var ItemTypes = require('./item-types');
diff --git a/src/services/namespace/service.js b/src/services/namespace/service.js
index d30549f..bdf7cbc 100644
--- a/src/services/namespace/service.js
+++ b/src/services/namespace/service.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var vanadium = require('vanadium');
var mercury = require('mercury');
var bluebirdPromise = require('bluebird');
diff --git a/src/services/recommendations/service.js b/src/services/recommendations/service.js
index 7e74293..8bdfff1 100644
--- a/src/services/recommendations/service.js
+++ b/src/services/recommendations/service.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var _ = require('lodash');
var EventEmitter = require('events').EventEmitter;
diff --git a/src/services/smart/service-implementation.js b/src/services/smart/service-implementation.js
index 38bf4c5..3eca7e9 100644
--- a/src/services/smart/service-implementation.js
+++ b/src/services/smart/service-implementation.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
/*
* smart-service-implementation includes this application's specific
* implementations of the smart-service.
diff --git a/src/services/smart/service.js b/src/services/smart/service.js
index eaaab79..23dfb22 100644
--- a/src/services/smart/service.js
+++ b/src/services/smart/service.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
/*
* smart-service provides an asynchronous interface for machine learning.
* Hooks to this service should make updates and ask for predictions.
diff --git a/src/vanadium-config.js b/src/vanadium-config.js
index 13eaa34..04d6d21 100644
--- a/src/vanadium-config.js
+++ b/src/vanadium-config.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var logLevels = require('vanadium').vlog.levels;
var vanadiumConfig = {
logLevel: logLevels.INFO
diff --git a/test/integration/services/namespace/mocks/lru-cache.js b/test/integration/services/namespace/mocks/lru-cache.js
index f0d505a..ff8a84b 100644
--- a/test/integration/services/namespace/mocks/lru-cache.js
+++ b/test/integration/services/namespace/mocks/lru-cache.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
// Mocking the LRU cache used by Viz so we can test caching logic
module.exports = {
cache: {},
diff --git a/test/integration/services/namespace/service.js b/test/integration/services/namespace/service.js
index dc3ff88..da1653f 100644
--- a/test/integration/services/namespace/service.js
+++ b/test/integration/services/namespace/service.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var mercury = require('mercury');
var _ = require('lodash');
diff --git a/test/unit/components/browse/browse-namespace.js b/test/unit/components/browse/browse-namespace.js
index 1e8cf84..335f83c 100644
--- a/test/unit/components/browse/browse-namespace.js
+++ b/test/unit/components/browse/browse-namespace.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var mercury = require('mercury');
var proxyquire = require('proxyquireify')(require);
diff --git a/test/unit/components/browse/item-details/display-item-details.js b/test/unit/components/browse/item-details/display-item-details.js
index 154e278..4f2cbef 100644
--- a/test/unit/components/browse/item-details/display-item-details.js
+++ b/test/unit/components/browse/item-details/display-item-details.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var mercury = require('mercury');
var itemDetailsComponent =
diff --git a/test/unit/lib/addAttributes.js b/test/unit/lib/addAttributes.js
index 8761b3d..665a6ca 100644
--- a/test/unit/lib/addAttributes.js
+++ b/test/unit/lib/addAttributes.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var addAttributes = require('../../../src/lib/addAttributes');
diff --git a/test/unit/lib/arraySet.js b/test/unit/lib/arraySet.js
index f859a92..e69d9c4 100644
--- a/test/unit/lib/arraySet.js
+++ b/test/unit/lib/arraySet.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var arraySet = require('../../../src/lib/arraySet');
diff --git a/test/unit/lib/exists.js b/test/unit/lib/exists.js
index f323466..77b6bad 100644
--- a/test/unit/lib/exists.js
+++ b/test/unit/lib/exists.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var exists = require('../../../src/lib/exists');
diff --git a/test/unit/lib/learning/perceptron.js b/test/unit/lib/learning/perceptron.js
index 94b1414..a523c29 100644
--- a/test/unit/lib/learning/perceptron.js
+++ b/test/unit/lib/learning/perceptron.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var perceptron = require('../../../../src/lib/learning/perceptron');
diff --git a/test/unit/lib/learning/rank.js b/test/unit/lib/learning/rank.js
index a27ee9d..3dbf8ae 100644
--- a/test/unit/lib/learning/rank.js
+++ b/test/unit/lib/learning/rank.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var rank = require('../../../../src/lib/learning/rank');
var util = require('../../../../src/lib/learning/util');
diff --git a/test/unit/lib/learning/util.js b/test/unit/lib/learning/util.js
index 88e237e..8db8acb 100644
--- a/test/unit/lib/learning/util.js
+++ b/test/unit/lib/learning/util.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var util = require('../../../../src/lib/learning/util');
diff --git a/test/unit/lib/log.js b/test/unit/lib/log.js
index 1f0ac32..ee7fddf 100644
--- a/test/unit/lib/log.js
+++ b/test/unit/lib/log.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var log = require('../../../src/lib/log');
diff --git a/test/unit/lib/mercury/freeze.js b/test/unit/lib/mercury/freeze.js
index bafe211..9bc0ed7 100644
--- a/test/unit/lib/mercury/freeze.js
+++ b/test/unit/lib/mercury/freeze.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var mercury = require('mercury');
var test = require('prova');
var freeze = require('../../../../src/lib/mercury/freeze');
diff --git a/test/unit/lib/store.js b/test/unit/lib/store.js
index 3c0deda..7939794 100644
--- a/test/unit/lib/store.js
+++ b/test/unit/lib/store.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var store = require('../../../src/lib/store');
var _ = require('lodash');
diff --git a/test/unit/services/smart-service.js b/test/unit/services/smart-service.js
index 0ecec6f..80c4084 100644
--- a/test/unit/services/smart-service.js
+++ b/test/unit/services/smart-service.js
@@ -1,3 +1,7 @@
+// Copyright 2015 The Vanadium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
var test = require('prova');
var addAttributes = require('../../../src/lib/addAttributes');
var store = require('../../../src/lib/store');