Clean up the Ruby, to make it nice.  Smaller methods and such...