develop.questionnaire: refactoring to Mapper, and html template and snippet added.