fixes to attributes and added .gitignore and .gitattributes