Addition of Apache License 2.0

This change includes the Apache License 2.0 and adds appropriate headers
to source code files.