Move ANTLR-based lexer to root lexer package and refactor dependents.