Seperate `state.cpp` into two files `fsm1.cpp` and `fsm2.cpp`
Each file contains its states of each FSM. This should give a better
overview.