For the sauce, heat olive oil in a medium saucepot over medium heat. Add onion and garlic, and stir 2 minutes. Add red pepper flakes and tomato paste, and stir a minute more. Add wine and reduce by half. Add tomatoes with their juices as well as the thyme and oregano. Bring to a bubble, reduce heat and simmer 30 minutes or so. Add basil to sauce and season with salt to taste. Simmer 5-10 minutes more.
Toss a tray of meatballs in 1/3 of warm sauce and keep warm on the stove in covered skillets or a slow cooker. Add stock when needed is sauce gets too thick.