Added simple CMP controller.