Added license info to every source file.

Also some new files that I had forgotten to commit previously are
included.