Create routes served function for all databases.

Fixes scala tests (locally), and scenario database creation.