Made setup smarty a public to use in handlers
Added set from method
Added template validation
Implemented usage of the handler