Fixing the database fetch mode and default connection
Class alias for Config