[#4] add apache 2.0 license. this closes #4