Renamed LexicalAnalyzer to TokenFactory, and tuned it a little.