Big refactor of the engine, support silent betting