Move c++ code in cc folder and add .gitignore rules