CEventHandler class added