fixed endtoken bug in class token list creation, and added values to operators