Mix together flour, melted butter, and nuts. Place this into a 9 x 13 inch pan. Bake for 14 minutes at 350 degrees. Mix together cream cheese, powdered sugar, and cool whip, and spread over crust, and chill.
Mix together the pudding mix, milk, vanilla, and flavoring and beat until thick and pour on cream cheese layer and chill. Spread additional Cool Whip on top and sprinkle with nuts.