Added base Event class and timer class

Timer and Task classes are now derived from Event class