more waypoint stuff and groundwork on backend