config is now officially part of the app. lots of refactoring to this end