Major sync

Further modularised aspects of base, modules and apps to work with
www-waypoints. Replaced delays with usleeps. Synced www. Synced
www-waypoints.