Moved toParameterString from Util class to Parameters
Removed toParameterString parameter as it is not necessary
Removed unused classes Renamed PathSegment to PathSegments