service base class