add full event manager and init task manager