setup base command class + register the command