Massive reorganization of Ruby code.