[DF-566] Java project refactoring.