An attempt to write  a class that implements all NSURL related functionalities