updated lexicon to use a class and added gitignore