Migrate project code into a netbeans project