Fix tracking of Beginning Of Line. Pack lexer in one class