In a large skillet, saute onions and garlic in 1/2-cup of vegetable stock over medium-high heat, until liquid evaporates.
Add the cumin, chile powder, oregano,and bay leaves.
Add beans, tomato puree, and 1 cup vegetable stock. Cover and simmer for 20 minutes. Set aside.
Directions: Sauce
In a dry medium saucepan toast the chiles over high heat, turning them, until they darken.

Remove from pan and let cool to touch. Remove stems and seeds of the chiles.
Toast the garlic in the same manner until half of each clove is blackened.
Remove from pan and set aside.
Combine Chiles, garlic, pureed tomatoes, water, sugar, cumin, oregano, and salt.
Bring to a boil, then reduce heat, cover, and simmer for 30 minutes.
Stirring every 10 minutes.

Remove from heat, let cool, then puree until smooth.
Directions: Batter
In a large bowl, combine masa, baking powder, and salt.

Gradually add soy milk.
Then fold in corn.
I found I had to get my hands dirty at this point since it would not combine nicely with out a little hand mixing.
Preheat oven to 350 degrees.
Lightly oil baking dish, I used my large casserole, but you can use an 11 x 9 inch baking dish.
Spread half masa batter on the bottom.

Top with black beans.
Followed by the remaining masa batter.

Cover with aluminum foil and bake for 40 minutes
Remove foil and cook for 10 minutes.
Let cool for 10 to 15 minutes.

Slice into 8 portions and serve with sauce.
Bon Appétit
D