Updated server.py to reflect the new changes in the FiniteStateMachine implementation.