Added first mongodb persistence.