Control and Optimization with PDE Constraints