add package.json
add original index.js from pi
add graphite logging