better handling of dev environment
updated deploy script
socket.io setup