moved app related classes to app.dart part
added ArgType for apps
now generating app main cpp (making sausage)