added websocket and network controller