move URL, check and normilize functionality to generic