Went through and added the copy write, and also edited some things to add (hopefully helpful) comments that would explain the purpose to the code.