Move to using a later tools flow function (closes #14), which lets us pass flags to the Google libraries (closes #10); split command handling into subparsers and subfunctions (closes #13)