We have a cpp file to encapsulate twist messages, we now have twist.py that uses ctypes to call these functions