added license and minor typo fixes