Restructuring appTemplates.json