base class of ui for saber