A framework for making threading NSManagedObject creation, updates and querying