build command line application structure