add server.js so that unit tests and samples can run without having to point to a server. Added instructions to the README.md