improve project handling
move websocket code over to appropriate classes; implement websocket connection error handling