add iterator() for Path, delete unused classes

rt