Proposal refactore settings to show the scope of a setting

This PR is a proposal for discussion. I would like to refactor settings so that it is obvious within which scope a setting is visible. This PR is not complete. It should only show the approach for discussion. Also this PR has a great potential for breaking things.
I would call this `get_or_set`.