Move C++ code into a cpp folder