added associations and created models