Collaborative State Machines: A Better Programming Model for the Cloud-Edge-IoT Continuum — arXiv2