Added BDObject and BDCollection
Small reformatting changes to APIObject