Add CMakeLists.txt and update .gitignore