Preheat oven to 375 % . Grease 2 , 8 inch round ( or ) square pans .
Cream butter and sugar together . Add the beaten egg and mix well .Stir in the mashed cooked beans and vanilla .
Sift the flour , baking soda , salt , cinnamon , cloves , and allspice together .Add the chopped pecans , raisins , and the diced apples to the flour mixture . Stir to coat . Pour flour mixture into the creamed mixture and stir until mixed well . Pour batter into prepared pans .
Bake at 375 % for 45 minutes .Let cool .
Melt the butter over low heat , in a saucepan . Add the brown sugar , and milk , bring to a boil and remove from heat .Let cool .
Add the powdered sugar , and mix until well blended .
frost bottom layer , place other layer on top . and frost top and sides .