In addition to the use of iron in buildings iron was also needed for tools and in sugar production A smithy was absolutely essential to the operation of a plantation

What is the correctly punctuated version of this sentence?
In addition to the use of iron in buildings, iron was also needed for tools and in sugar production. A smithy was absolutely essential to the operation of a plantation.