CMS-2033 Create an event system for backend code. Added eventbus. Tests will follow.