case class CommandResult