class Pathname

we enhance pathname to make our code more readable