Create StringList class for char** lifetime management, and use it