setup event manager core