added event class

added event class