Added headers to java files and updated READMEs