adding smarty as required dependency