refactor the config attribute of a command

used to be just delegated to the app
now actually pulls a copy of the config (just a reference though)
this will enable me to use an alternate config if passed in something exciting on the command line