removing .d files and updating .gitignore