Load configuration from the database
Move database configuration loader to its own class
Shift file configuration loading to its own class