Add counter in cli output
Rename DefectDispatcher into Dispatcher
Refactor with events