adds ruby
more improvements to the refactoring chapter
further mods