use basename of generated directory as default appname
Add usage and move copytree to after prompts