moved templates inside the apps for more reusability