Removed static reference to DB file, added  to api_settings.php