Split socket.io into a seperate file.