added generation of app launching, added generation of default routes for apps