Adds everything required to start the websocket server