Scattering, Trace formulas, Toda hierarchy