setup ui to use new generic event handler
add rObject base class