Update

* add tests (rspec)
* refactor configuration
* remove hidden dependencies (make explicit)
* allow making HTTPS requests
* general tidy