Made a start on saving to mongodb
Made a start on saving to mongodb