Currently, the data is retrieved from an object that stubs the original mongoose data access functions.
Instead, we should use our own data access interface which can be implemented for any database.
e.g.:
interface QuestionDatabase {
getRandomQuestion: () => Question;
getQuestionById: (id: number) => Question;
// ... etc.
}