added mongo hq database code