Using Core Data to create the model.