Migrating old java project code