moved templates to public