addes setup.py
first pass at brining trtools.charting and refactoring