Reorganization, made a command line argument version of the text generator.