Changed to BSD licence and added LICENCE.txt