Code to produce modules of text strings