Made a rubygems out of the prototype version and cleaned up a bit.