reworked module extension creating