First commit of EventDispatcher and EventBus (wip).