Added license file and missing copyright in source files