Moved the template files into a template folder

Fixed an issue where the template files were stored in the wrong
location. This has been rectified.