Static function saves the database config, some comments also