A framework for threading NSManagedObject creation, updates and querying