Improved package structure and the CMakeLists.txt for the man page