First codebase commit of C++ implementation