add core data model.