change setting.h for new class system