add stream server with websocket functionality, start setup of new architecture