Migration: database configuration.

Use the config component properly to initiate the Database Service.