Adding more app structure, fixing readme.md and package.json

* lib for node modules
* test for mocha tests