Character class generator