used callback in cli implementation
TODO:
- remove redundant code
- remove std::ostream parameter from BroadcastReceiver::operator()
fix unittest to use BroadcastReceiver::Callback
cleanup BroadcastReceiver
clean up BroadcastReceiver