Created String Generator

Cleaned up some of the code to reduce file size by about 10%, and