add .gitignore and Netbeans project