moved templates into their own files under app/view/templates