Shorten some of the code that fetches the request variables from the global $_SERVER array
Shorten the code that writes the headers in the response
Shorten the code for the addMethod method in route.php
Update with current debug functionality (temp.)