Application factory
Command line interface