added tcollector.py and collectors/lib