Added the URL utility class and some tests for it