Refactored routing system, now supports middleware. (for example authentication, a thing which I am working on.)