Added License to Java files