Split to several modules, add patx_edgep_attr