added RemoteLifecycleEvents and EventPublisher