initial app and template creation