Add q_url method and replace old long url helpers

- Add q_url method and replace old long url and path helpers