Adds state_machine submodule file