Mongodb: move the db_helper to db_handler