refactoring: Settings service