add apache 2.0 license (closes #7)