Started implementing the code that loads referenced data from mongo