add ability to provide templates in specified directory