changed routes file and dynamic router files