What year did the women of Boston produce 40,000 skeins of yarn , and 180 women in Middletown , Massachusetts wove of cloth ?
An ingenious canal system provided the water power that drove the machinery .