An API for CM Home