Changed cmdWords to pointer

Allows for explicit deconstruction.