Added templating to quizbuilder