Adding RainTPL for templates