Added utility to load templates from a base path