Insulation should face the living space, with the vapor barrier (the paper or foil backing) towards the interior to help control moisture.
Modern cellulose insulation is made from 75 to 85 percent recycled paper or denim, treated with boric acid, borax, or ammonium sulfate.
Remove as much spray foam as possible with a scraper or blade, then use a rag dampened with mineral spirits or acetone to clean any remaining residue from the surface.