delete unused templates
change templates structure