Several changes to code.

Added a self_test module; replaced my version of stringsplit with STD.Str.SplitWords; removed unneeded Exports; tidied up comments.