Create mongoPersistence.js