update and fix url builder. Make possible to create endpoints without base URL.