How important was Massachusetts during the Civil War?