[Settings] Convert code in src/usr to use settings API.