Updated database to use Offer() class