Simpify tasks.
Better logging.
Dispatcher creates channel.
Added tests.