Snippet tags are replaced by whatever the snippet returns, and your snippet isn't returning anything.
I suspect that the cpm class is using echo or print to output it's data. Generally, you want to aggregate the output by replacing echo or print with:
Then put this at the end of the snippet:
As an alternative, you can open an output buffer at the beginning of the snippet with ob_start() and get/flush its content at the end before returning the buffer contents with
The second method has not always worked for me, though it might be easier to implement in your case than aggregating the output.
I should mention that if the cmp class works by dropping in and out of PHP (with multiple <?php tags), it will have to be completely rewritten to work with MODX.