Implemented tokenizer and parser