Impulse Control And Optimal Stopping