Use const char* instead of passing string copies and converting to char* afterwards.
update gitignore