A lot of work on the backemd/Mongo interface