Adding BSD license to the code.