AP Flour • Butter, softened • Finely chopped wanuts • Pkg cream cheese, softened • Confectioners sugar • Container frozen whipped topping thawed, divided • 3.9 oz instant chocolate pudding mix • Milk • Vanilla extract • (1.5oz) chocolate candy bar, grated