Added back end folder and waypoint handling class

Merge with master.