started survey.py to replace take_survey.html