Title: Foundations of Optimal Control Theory