Created object to create private context and observing save notifications to merge changes into main
Tidying code in the data import and moved deleting code into separate method
Refactored duplicate code into retrieveProfiles method
Tried using private context for importing but running into issues. Commented out for now and gone back to all on the main context
Fixed the issue, was running the delete code on the private context.
Import only on the private context
Save, which merges changes back onto the main context
Can then delete on the main context
Merge branch 'feature/private_context' into develop