Player animation, singleplayer option

Client-side work.

Player animation has been implemented, the singleplayer option has been
implemented with a main menu screen for sake of quick, socket-less
debugging of the game engine. Also, the socket.io connection has been
encapsulated.