Push all the state variables into one state struct