revamped server to allow socket.io connections
server socket.io refactor complete
socket.io refactor complete