Converted the NetBeans project to Java library project.