Added betting. Working on ajax.