Refactor web socket stuff into it's own server
Factor out UID
websocket rpc