As we have discovered after gutting it, it was both. In a way the pipe leak was a blessing because we were able to see the problems with the foundation. The foundation repairs will begin tomorrow and then we can start rebuilding from the cement in. We have already installed new gutters and rainspouts, changed the landscaping and will be sealing and waterproofing the foundation after the mason has finished his repairs. I'm really thankful that none of my sewing machines were damaged.