What social group shrank as a result of the industrial revolution