Added EventManager constructor