add apache license
Merge branch 'master' into dev