renamed template files to tpl. updated route definition