Run class factory if no command line params are passed to app