Working State Machine

Menu to be added