PathGenerator class + wip