create class schema