[WIP] added routing and history into case and city