Now creates appropriate DB connection instance.