Setting up socket.io and refactoring main.client to instantiate a Player which in turn instantiates the Game client-side