Added globals to track the creation of objects and cross-verify that with the ruby script. Changed the data a bit.