Refactor the lamp_state_machine.py to use the lamp_state.py for the know states of the system.