merged additions from  "Included qthmi Connector in connector.py"