Changed the way status is received from a Command.

The old Command class printed the status to stdout. The new class
implementation now returns a string. Print however you want!