added Smarty template engine option