Added belongs_to model association to Product and has_many model association to Category.