Completely refactored Setting system