Initial implementation of template loader wrapper