adding models and relationships