Began implementation of socket.io