added EventManager and switched to using int/dynamic instead of EventType/string[]