Sample objects and methods for implementing Core Data