Initial buildout of server-side and socket.io code. Tests included