continue model update to 0.5.0

work in progress
restructured file
"removeDependentRelations" on delete