Refactored event-related classes into new subpackage for eventing.