Implemented Delete with CoreData

Minor variable name changes