create condition class, change structure of event class
add complete condition class