Working on the router

Fixed a bug that would render the rewrite using an array useless and
broken. [Untested]
Fixed a bug I noticed

This would cause a warning and a logic error when using array routes.
Working on the patterns to have options