Added the code and the view for the references subdocument, time to get
it actually working