Modified Router to switch between URL forwards and framework requests