Adds license Headers

Adding missing license headers to 41 different files, plus some formatting

Author: lhunker