Added a few comments
Added an accessor to the request from controller
Implemented a functional router.