Add license files and fix source files headers