code to create CoreData records with details, associate Photos and email a police report