Remove old state_machine and adjust CMakeLists