Changed OfferValidator and TraderValidator to classes