Removed strdup from main.c and cleaned up some headers