added URL class, constructors, methods