Created models with relationships