This is imporved from rails-settings, added caching for all settings