Object-oriented URL utility