rip out a lot of old/broken/no longer working functionality in the cli tool (fixes github #3)