source reorganization. add a CMake. resulting files for the video are handled with a directory in parameter in C and Python