moving everything over to socket.io