Add cpp file for piece