set up data table relations for all models