Add Apache license. Closes #2