Separated movements FSM into its own file.