url library for endpoint building