add batchAddDecForFunc and pathClass for metaclass directory
add batchAddDecForFunc and pathClass for metaclass directory