thinkModelCode related python code and setup