search recursively for templates in the modules directory