Updating mongo interface (issue #8)