Mongo backed work

I think I have the mongo backend code all done. It's not necessarily optimized, but it works