Created relationships between models