Molecular rearrangement in homocyclic and heterocyclic systems and synthetic approaches to novel heteroaromatic systems