Add CMakeLists.txt files
modify for cmake