setting up a socket.io server and starting it up