Optimization: cache getAllRoutes results

Build a new database to store the frequently queried stops.