Some Heterocyclic Precursors as Main Entity for their Functional Dyes: Synthesis and Spectral Behaviour