Before spending another dime, please contact a local real estate attorney. Buyer beware is a general rule, and you should have had the house professionally inspected before signing an "as is" contract, but you may still have a claim for material misrepresentation. This is not a situation you are going to fix on your own. Please speak to an attorney.
To questioners from West Virginia & New York: Although I am licensed to practice in your state, I practice on a day-to-day basis in Massachusetts. I answer questions in your state in areas of the law in which I practice, and in which I feel comfortable trying to offer you assistance based on my knowledge of specific statutes in your state and/or general principles applicable in all states. It is always best, however, to work with attorneys and court personnel in your own area to deal with specific problems and factual situations.