Added license file and made some minor changes.