Adding MongoDB persistance