moved templates into app