added licenses in file headers, updated the README.md