initial project import from KDevelop
Ported c++ ts2 app to python

This is ts2 v0.2 (beta 1) ported from c++ to python.