added socket.io as dep
fixed scope related problems in utils.js
initial commit of socket.io communication