inject dependency on moodlequery into model
remove moodlequery from repo