Refactor CLI to use Thor in lieu of  trollop.