command line app now works with poor man's DI