adding database coping features -- currently only support mongo