Added license information to the Java files