Add legal headers, code compliance checker

Please review and test
nope, it was called "library" up until v2.1... I guess they renamed it to "lesser" with v3 for propaganda reasons.