C++ cong engine initial implementation.