Preheat the oven to 375 F. Add onions in olive oil for 3 minutes, stirring. Then add ground meat, garlic, stir and cook for another 4 minutes all together until meat no longer has any pink. Drain excess grease.
Add diced tomatoes, tomato paste, spices and broth (any). Cook covered for another 10 minutes on low heat.
Add beans, corn, stir, wait another 2 minutes and remove the pan from heat. In another bowl, mix all dry ingredients and mix. Add egg, milk, butter and stir with a whisk.
Pour the meat mixture in a 7x9 or 8x8 inch pan and smooth it out. Pour cornbread dough on top. Place the baking dish in the oven and bake 25-30 minutes. After half an hour you can add cheese if you'd like.
Sprinkle grated cheddar onto hot cornbread. Place the chili casserole dish in the oven and wait another 5-10 minutes for the cheese to melt and get golden brown. Remove once cornbread is browned and cooked all the way thru.