Add license header, carve extensions into separate file, and update Dyfrig extensions.