add basic socket model socket.js