simplify the `main()` a little to just handling the CLI args and kciking off the app, move all the config and message building into a module