Adds license, updates comments in source file