implemented parent management for arrays; removed some bugs from delete methods; moved parent management methods to DO so they are available for all subclasses
implemented generic parent query method for DOs