Swtiched a bunch of char* to string. Still get a warning when trying to
convert from const char* (string) to char* when giving name to task
Got rid of all casting problems