Probably going to abondon this attempt.
Added basic analysis websocket handler.