Basic objects and methods for implementing Core Data