State machines that control behavior | Zoonk