restructuring dexnet dir(p)
meh