MongoDB work

Started work on MongoDB storage