Added Apache version 2.0 license to all java source files.