Added original Java release by Veselin Stoyanov (includes about 7000 lines of Java code)