API Migrated default configuration logic from _config.php to the database controller class