created a module to load templates