Optimal Stopping Problems With Applications To Mathematical Finance