add fledgeling state machine. None of this works yet.