Added functionality to create Foo2 in ObjectCreator.java
Starting to transition Serializer.java so that it can accept objects with object references