added core data, entities and relationships.