static method fetchForKey and insertObject in CoreData