Migrated to NetBeans and added some test programs