Added a core data model