add character_classes model and tests