Setup Database connection.