moved the websocket code to a service, split up the controllers, restructured directories