Created models and relations