Adding mongodb interface