Rewording and remove socket.io dependency