command base class