better init of parser and tokenizer objects