Added base class for clients