Move make db connect as a standalone module.