Add Event class and implement in Timer and Scheduler