Adds path manipulating functions
Converts to use new path manipulation functions