Refactor DB connection process to own method
Refactor DB connection process to own method

Signed-off-by: Carter Landis <ffc486ac0b21a34cfd7d1170183ed86b0f1b04a2@gmail.com>

OSSHealth/ghdata,OSSHealth/ghdata,OSSHealth/ghdata