Add Apache License.

Fixes #2