Fixed an issue with routes and PHP 5.3

Also documented stuff and other stuff ^^