moved templates into global dir, prefixing filename with template type