A framework for automated structure elucidation from routine NMR spectra and applications and mechanics of organic reactions in alkali salt media