created DBhandler and mongodb