publish and subscribe to bets collection, making bets data available to client