moved templates to template directory