Initial refactor for PathProvider
Added route mapping