Adding sockets

removing server.js
adding sockets