moved url routing out of the applicationw