added simple switch statement to main.c & defined str consts for token IDs