Add explicit Resource objects
Fix documentation of Object
Merge pull request #229 from hpicgs/new_object_allocation

New object allocation