added Bid class and addBid method