Added copyright/permissions to distributed codegen