.
rewrote routes generation to allow more flexible routing (for example, /a and /a/b are allowed now at the same time)