This is a class that will save settings to a text file. You only have to give it a description and a value and it does the rest.
Assumes
There are some extra functions in the two modules. I use these modules for quite a few different projects and did not edit them for submission to PSC.