Added datamodel and managed objects and core data