Some bug fixed
Notifying lottery phase
More fixes
Still fixing bugs