add character class
change config handling to hash style lookup