lib: Added licence to the header of all files.