Aside from the activities of colonies what other even fostered the transition from manufacturing to agriculture