Uses config for database connection info now.