Αποστολή με SMS: Continuous-time Stochastic Control and Optimization with Financial Applications