Added simple Database queries for Bets.
Can save and load bids and bets. Testability added.