Specify questionnaire data file via Flask configuration instead of a (fake) constant right inside the application.
Don't process user input on GET request.
Moved processing of user input to model.