Added Segments() and Request() method to the URI core library.
Fixed invalid segments array variable name in Segments()
Improved autorouter (separated into the new method).