First implementation of path-sim.