Place first 3 ingredients in a saucepan. Bring to a simmer, turn off heat, and cover with lid. Steep for 30 minutes. Remove lid, bring mixture back to simmer, and add next 7 ingredients. Reduce heat to low, cover, and simmer for 45 minutes. Turn off heat, add molasses and wintergreen extract and let steep, covered for one hour. Strain mixture. Add equal amount of sugar to liquid measure. (For instance: if you have 5 cups of liquid, add 5 cups of sugar.)
Place both sugar and liquid back in saucepan, and allow to simmer for 5 minutes.
Transfer to sterilized containers and store in refrigerator for up to 6 months.
For Root Beer
Use one part syrup to three parts seltzer water. Add more syrup for preferred flavor preference.