Added GPL licence note to each java file