configurable subscribe_event_handler and io_event_handler
rename event handler to sample name
delete no use event handler