Added Apache 2.0 license closes #1