Good frickin work, man. That's great!
The house I most recently bought had bad enough smells that I had to rip out all carpet and coat all walls, ceilings, and subfloors with primer. If yours isn't that bad, a professional carpet cleaning and a VERY thorough paint job will do it. Get rid of...