Update routing to use yaml format