change revenue method and preferred_vendor methods in Vendor and Market classes to accept dates