Stochastic Control Foundations Of Autonomous Behavior