extracts functionality from klasse-wp-poll-survey.php into class poll