New CLI utility

This PR adds a much need CLI tool for doto.  Almost ready to be merged -- waiting on a few comments from @srossross