add path middleware

Transforms a list of modules into shifter-built paths