Added license notices to code files.

Please review the changes and merge if ok!