Added new functionality to route editor

Now it is possible to change route's waypoints by dragging the pinpoint,
and the route will be recalculated.
Made some clean up.