pythonized genstrings.py and made it less project specific