Reading and Powering Molecular Machines by Light