class for urllib