changes in gitignore and add encoding to header