added comments to command class