generate custom_class files.
Fixed custom_class loader base.