Remove old contents and add compilation with CMake, clean Modules (and  hook)