Switched to socket.io and introduced acutator events