add relationship to data models, auto create data model classes