added node and lexicon class