Routing.py

Routing function