Added license header to .java source files
Added brief comments