Solves #2, #3 and #4.
Removed nbproject folder, and added it to gitignore