Preheat oven to 350. Grease muffin tins. Thoroughly combine apples and sugar, then add the rest of the dry ingredients. Mix well. Add oil, egg, nuts and vanilla. Then mix in flour. The batter will be very thick and gooey. Fill muffin tins 2/3 full. Bake about 30 minutes. Can be frozen.