Add license text to files and re-org for easy use as NetBeans project.