extract Method module, rename/reorg functions in Path.