Got the base of the event manager implemented.