Added License and copyright declaration.

Added Apache 2 license and copyright to source files.