Adds a gitignore for netbeans folder and some changes to the index file