refactor DI. Added EventHub class