Implement infrastructure for betting
Fix bug in strategy