Initial code for deleting related records. WIP, missing deleting many-to-many records, testing requires changes in test code