Behind the Yahoo shake-up and Verizon deal