change licence to BSD3 and add LICENSE file