added all models and relationships
fix relations between models