Added license info to the file headers
Added searching for java package name when there's a license header