refactored typesetter, label and button classes to use the simple name as the base class