Updated lexer docs
Updated lexer frontend
Updated lexer backend code
Many chnages to code