Move config properties into variables and move questions into state.