Started on websocket code