Finished abstracting the web socket server