Synthesis of biologically potent heterocyclic compounds and development of some new synthetic methodologies