Saving & loading route is done.

Code is quite messy but works. Cleanup to do.