Make a wrapper that gets and calls the start state creator (start_state_creator()) and clean up switch_state()