A class for dealing with hierarchical paths in PHP.