Splitting URI into a vector