Add missing .gitignore files in subdirectories

Add missing .gitignore files in subdirectories and remove automatically generated files that should have been ignored