Add apache 2.0 license, fixes #7