New C2D2 library

Signed-off-by: task650 <task650@gmail.com>