Add adding url function (basic working with lot of flaws in API)