21 months ago Omar Polo
move the mid -> path code to a sub in the package
move some common code in a module