first draft of Lexicon class