Refactored PathFactory. Refactored List classes to pull the path