Created Models and relationships