removes newline from index, updates gitignore