Remove cpp directory and add global CMakeLists file.