Integrated a client-side router