Added GPL header for java files