Added licensing to the start of all or most of the source files.