Add models and relations