update dbManagerV2 to store binary file in mongoDB, add another dbconnection method