What problems did Mao and the Communist party face in 1949, and how did they deal with them?

What problems did Mao and the Communist party face in 1949, and how did they deal with them?  Where were they successful, and where were they failures?