Add cache mechanism to Settings class

Cached data will be used if it exists.