rename package turnstile -> statemachine