Add event queue and base classes
Event management
Working