Initialize Template engine