delete unnecessary directories and .gitignore file