Add license headers.

Double copyright notice as did pull original code from
devbean however have added my own additions.