Revert "Added missing files."

This reverts commit 0b20b3cf90280d66dbfc286ffa30433b5ea0ad30.
Revert "Added StateMachine base class."

This reverts commit b4ebfc29727bed09dbfe3e053c94fab4041720cd.