Added the BSD license header
Added some commentary