Mongodb stuff starting to work.