Renamed remaining main.cpp files and updated/corrected/homogenized the CMake files.