headers and readme

added the headers to the current java classes
also updated the readme.