Add initial gen command and application
Fix application
Add gen command application execution