Refactored to use latest versions of express and socket.io.

Also replaces all public files with a simple example.