added tests for main router
fixed websocketProxy tests
moved websocket_proxy
formatting
refactored communicator handlers on main_router
continuing to refactor
draft of refactor
draft of refactor
draft of refactor