load templates with template loaders