Add licence based on http://opensource.org/licenses/BSD-2-Clause