Add offline support for RouteSyncManager
Improve some parts of the code
Fix route download