Active record optimisation

Clean up the loading of models to build the questionnaire.

There is a lot of duplicated and unnecessary loading going on. Trying to reduce some of it.