A ruby-style router