Added some headers
Switched to a 3-clause BSD license
Tidied up the license slightly