MongoDB Interface for the Cobra database