Tuning the functional properties of metal complexes containing polytopic heteroaromatic Nitrogen Ligands