add apache v2 license

If you have any issues with this, please raise with @tackley