Adding license headers and addressing comments from github