Evolution of the galactic cores and structure of the molecular gas tori