fix cannot access index.html page from localhost; refactor app

- separate client and server code
- add app.js
- make client code publicly accessible
- remove Bind.js, native bind method exists in node
- update readme to reflect changes