Create base class for command