Add support smarty template engine