Updates and new implementation

* updated, modernized
* using https://github.com/redding/cli.rb for the CLI implementation
* no api changes