New approach, focusing on automatic routing
Added @order parameter support
Fixed problems with iterator_to_array
Added support for base url
Shorter code