License

Add a license functionality, and use it to put headers in all files.