create class CJEngine