Adding mongodb configuration