tokenize input and add builtin "exit" command