adding initial version of the tgam python class. this is a port from my private bitbucket repo. further development will take place on this repo from now on... And there is lots of cleaning up to do, and much more...