Fixed a bug that was making the script crawl the parent of most objects instead of the object itself.
Removed a couple of print statements.
Call invokeFactory on the proper container instead of always putting new objects in the site root.
Pulled an add() method out from the crawl() method to support creation of parent objects.