Refactor Command.list_commands
Refactor error reporting in Command#run