Pulled IoC loading for an app into a separate static method, so I can easier write crons and cli utils for the app