add models and add/edit join tables