Major refactoring of websocket controller. Handles new opq packets. Simplified sending of alerts. #83