Adding global event manager