Some changes to infrastructure + very experimental implementation of quiz template loading.