add BSD license. closes #23