moved websocket stuff to websocket directory