event manager and service manager