I'd even get rid of this global config channel and create it in main() instead. Then, get rid of init() and call the same functionality from main(), passing in the config channel. I guess in non-modules I'd avoid init(), as it is something that just makes testing harder and couples stuff more together.