Initial commit

Change-Id: I75d6d2d7b734e4f8cfbfdc18c496f04af5fabc91
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bdbec32
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,21 @@
+*.dSYM/
+*.a
+*.dylib
+*.o
+
+*.cc~
+*.hpp~
+*.h~
+
+
+.DS_Store
+.lock*
+.waf*
+build/
+
+*.db
+*.dat
+*.properties
+*.pyc
+
+.tags*
diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..70d7af0
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,3 @@
+Shuo Chen <chenatu2006@gmail.com>
+Alexander Afanasyev (http://lasr.cs.ucla.edu/afanasyev/index.html)
+
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..a0a85a7
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,29 @@
+Copyright (c) 2013, Regents of the University of California
+All rights reserved.
+
+Authors of individual source files and components are listed in the
+respective files.
+
+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 the Regents of the University of California 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 REGENTS 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/INSTALL.md b/INSTALL.md
new file mode 100644
index 0000000..f53beaf
--- /dev/null
+++ b/INSTALL.md
@@ -0,0 +1,39 @@
+ndn-repo:  A basic version of NDN repository
+===========================================================================
+
+Prerequisites
+-------------
+
+Required: 
+
+* libcrypto
+* libsqlite3 
+* libcrypto++
+* boost libraries
+* [NDN-CPP](https://github.com/cawka/ndn-cpp)
+* OSX Security framework (on OSX platform only)
+
+Build
+-----
+
+To build in a terminal, change directory to the ndn_repo root.  Enter:
+
+    ./waf configure
+    ./waf
+    sudo ./waf install
+
+This makes and installs the following items:
+
+If configured with tests: ``./waf configure --test``), the above commands will
+also produce test programs in ./build/test directory
+
+Supported platforms
+-------------------
+
+(to be confirmed)
+
+NDN-CPP is tested on the following platforms:
+Ubuntu 12.04 (64 bit and 32 bit) (gcc 4.6.3)
+Ubuntu 13.04 (64 bit) (gcc 4.7.3)
+Mac OS X 10.8.4 (clang 4.2)
+Mac OS X 10.8.4 (gcc 4.2)
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..349e0d3
--- /dev/null
+++ b/README.md
@@ -0,0 +1,23 @@
+ndn-repo:  A basic version of NDN repository
+---------------------------------------------------------------------------
+
+ndn_repo is an implementation of a Named Data Networking data repository.
+The ndn_repo follows Repo protocol of NDN. The specification of repo protocol is:
+
+http://redmine.named-data.net/projects/repo-ng/wiki
+
+ndn_repo uses [NDN-CPP-dev](https://github.com/cawka/ndn-cpp) library as NDN development library, and uses sqlite3 as underlying storage.
+
+The security model and access control have not been decided in current version. The insertion and deletion commands are signed interests, but they can all be validated.
+	
+ndn_repo is open source under a license described in the file COPYING.  While the license
+does not require it, we really would appreciate it if others would share their
+contributions to the library if they are willing to do so under the same license. 
+
+See the file INSTALL for build and install instructions.
+
+Please submit any bugs or issues to the ndn_repo issue tracker:
+
+http://redmine.named-data.net/projects/repo-ng/issues
+
+