Related to #60. Beginning of Core Data implementation.