Adapted from My Recipes
Put dried beans in a large bowl and cover with cold water. Let stand overnight at room temperature.
After soaking beans overnight, drain the beans and then put them in a large Dutch Oven.
Add 10 cups water to the Dutch Oven and bring to a boil. Skim the surface as they boil.
Add oil, 1 teaspoon salt, thyme, bay leaves and onion then reduce the heat to low. Cover and simmer for 30 minutes. Stir the beans occasionally.
Remove thyme sprigs, onion and bay leaves. Stir in another teaspoon salt. Let beans cool to room temperature.
Put the beans in an airtight container and refrigerate until ready to use.
Preheat the oven to 375 degrees.
Cook chopped bacon in a skillet for about 5-10 minutes.
Drain and rinse the beans.
In a large bowl, combine beans, ketchup, maple syrup, dry mustard, black pepper and curry powder.
Spray a baking dish with cooking spray and pour bean mixture into it.
Bake for 45 -50 minutes until bubbly and browned.