simplify URL handing class