created models and created associations for models