new class for managing questionnaire