modular chemical circuits