diff --git a/onionr.sh b/onionr.sh
new file mode 100755
index 00000000..286a0f7f
--- /dev/null
+++ b/onionr.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+cd "$(dirname "$0")"
+cd onionr/
+./onionr.py "$@"
diff --git a/onionr/proofofmemory.py b/onionr/proofofmemory.py
new file mode 100644
index 00000000..4b0b0fa7
--- /dev/null
+++ b/onionr/proofofmemory.py
@@ -0,0 +1,29 @@
+'''
+ Onionr - P2P Anonymous Storage Network
+
+ This file handles proof of memory functionality
+'''
+'''
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+'''
+
+class ProofOfMemory:
+ def __init__(self, commInst):
+ self.communicator = commInst
+ return
+
+ def checkRandomPeer(self):
+ return
+ def checkPeer(self, peer):
+ return
\ No newline at end of file
diff --git a/onionr/serializeddata.py b/onionr/serializeddata.py
new file mode 100644
index 00000000..a7ff2e80
--- /dev/null
+++ b/onionr/serializeddata.py
@@ -0,0 +1,42 @@
+'''
+ Onionr - P2P Anonymous Storage Network
+
+ This module serializes various data pieces for use in other modules, in particular the web api
+'''
+'''
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+'''
+
+import core, api, uuid, json
+
+class SerializedData:
+ def __init__(self, coreInst):
+ '''
+ Serialized data is in JSON format:
+ {
+ 'success': bool,
+ 'foo': 'bar',
+ etc
+ }
+ '''
+ assert isinstance(coreInst, core.Core)
+ self._core = coreInst
+
+ def getStats(self):
+ '''Return statistics about our node'''
+ stats = {}
+ stats['uptime'] = self._core._utils.localCommand('getuptime')
+ stats['connectedNodes'] = self._core.daemonQueueSimple('connectedPeers')
+ stats['blockCount'] = len(self._core.getBlockList())
+ return json.dumps(stats)
diff --git a/onionr/static-data/www/private/index.html b/onionr/static-data/www/private/index.html
new file mode 100644
index 00000000..58c14e3f
--- /dev/null
+++ b/onionr/static-data/www/private/index.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+ Onionr
+
+
+
+
+
+ Onionr Web Control Panel
+