changed model from many-to-many to one-to-many, up dated models to refelct that.