removing comments and moving socket.io to a place where it works