Adding an Event class
Implementing the Event class