Implemented the eventbus