Removed config.php dependency. Database connection is set in index.php