1137527: Refactoring to introduce EventInjector to fix HealthManager/PolicyMonitor issues