removed unneeded dependencies and the lexer related code