How were class tensions affected by the Industrial Revolution?