Added saving to mongodb.

Not update or loading yet!