config base class