Added integration with MongoDB