Initial refactor for 2.0.
Fix 2.0 tests.
Ignore .ruby-version
Small code style fixes

* Remove pompous header,
* force using parentheses,
* camel case function names.
Fix stupid typo