Created the pathToUrl function
Added initial tests
Added examples to the readme