socket.io initialization code is added routes/sockets.js and event handlers are setup