Added persistence with mongodb