Added Apache 2.0 license

Closes #18