created models for vendors and products and defined associations