pathfinding and removed some files