Adding license headers to all file and fixing license file

Adding license header to all file and made some formatting changes to license.md