Supramolecular photochemistry applied to artificial photosynthesis and molecular logic devices. (30th October 2015)