Preparing keyword categories and coloring, generating lexer