Add client class to the server to manage a single client

-Fix loading of tile maps
-Change to use shortid instead of node-uuid
-Refactor both server and client code