added custom websocket classes