Basic resources router DSL.

More information at http://thunder-ex.github.io/2014/01/20/basic-routing-dsl.html