change gitignore and add mongo persistor