Moving from communism to capitalism is a daunting challenge for China.