initial implementation for saving routes locally (sqlite)