added Apache licenses and Google copyright notice to source files