removing unused templates and layouts