Refactored base event-related classes into new event subpackage (under root package).