Split logic to load prefs and apply permissions
Handle errors
Support "polcy" style configurations
Update example prefs