defining template files in module index files