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/.
Done in 0d40781a8154d263cfcbb7ad5818f4d821ad596c