restructured files for templates