Adding the template loader