Commands Refactor Part 2

We split #196 in two parts. this is the second. (#262 is the first). This builds on all the changes to commands/.
Good idea! There may be a real MIME type for this. (I'm not finding `X-Stream-Output` anywhere)