New SmartyTemplate class

Templates can now be Smarty format