A Structured, Probabilistic Model of Action