Reorganized lexer for more human-friendly "top-down" understanding of grammar
formatter.py: Various code cleaning & improvements