Migrate to Node and websockets