From the periodic table to photochemical molecular devices and machines