Added dragging and path finding