fixed count_bets issue
added fold option
removed rails index page