Use new rspec syntax and couple more improvement

- Use the most recent version of the gems
- Use new expect syntax for rspec
- Use require_relative instead of require when possible
- Add pry to rake task for quick prototype/testing.
- Misc code improvement