Add smaty engine and class.smarty