What were the three factors of production required to drive the industrial revolution?