setup relationships between models