I am not a lawyer but I have been in the real estate business since 1965.
Did the previous owner hide these deficiencies? If you were aware of them and accepted the property as is then I am afraid you are responsible. But this is too serious not to get a lawyer's advice.

