Moved a lot of stuff to src/ruby