Cuba and the US have now restored the diplomatic relations that had been broken for more than 50 years. But before this step, reforms had already been taking place.