Decomp main.go
main.go is pretty busy, specifically the main() func. The adapters, building the mux, starting up the pollers, then starting up the server. Both for DRY and the ability to more easily scale the cfg.Sources that could be selected in the future, there would be value in breaking out the server setup functionality from the muxing/adapter behaviors.
issue