add new class-based config