moved templates to folders
moved all templates to index files