Add Core Data model and some experimental sync code