Added licence and URL comments to the java files.