Make database connection interface