library for talking to CMI