smarty class
smarty config