added bets struct, gamestate enum, beginning to modularize payouts