Removes the unnecessary file index.php
Adds middleware's basic code

- Now array's value 2 would be used as middleware
Adds functionality to support before functions that are execute just before a route handler

- Now you can add before function as third array parameter in your route description
- If you intend to pass a function uniquely for an object you should pass it as array($object, method)
Adds comment to explain things better