Update CMakeLists.txt: organized main CMakeLists.txt