WIP: begin extracting globals from main
WIP: wrap log collection in own type
WIP: move chans to non-global scope
WIP: improve collector interface
WIP: scope last globals in main func
Merge pull request #1 from bazooka-platform/refactor/remove-globals-from-main

refactor: remove globals from main