Topics In Stochastic Control With Applications To Algorithmic Trading