Refactor event handling so we do not need primus responder