redesign: adding IO to cmds

Its optional, but if IO given, log msgs showing cmd details.
Merge pull request #35 from redding/kr-re-io

redesign: adding IO to cmds