Refactor the EventsHandler