Revert "New C2D2 library"

This reverts commit 7ba71ebe6e71f5166a49a447a24948de29890797.