first round of CoreData stuff