Licensing

Adds and updates licenses for the majority of code files.