Use std::stoi instead of std::atoi
Add license file