Interface refactor; use const string& instead of char *