Programming Safe Chemistry On Laboratories-On-A-Chip