adding basic mongodb support