Added setHeader method and updated .gitignore to ignore files of my IDE