update to java files and readme