Mostly implemented waypoints

Still not calculating any pathfinding, but I've got the waypoints and
adjacency list setup. using the first-pass cleanup to update the
waypoints.