Molecular architecture in the field of photonic devices