added socket.io and extended server.js to init it