How did the economy shift during the Industrial Revolution?