/**
* Routing wrapper constructor
*/
public function __construct()
{
// grab the location of the routes-file
$routeFile = Configuration::instance()->setting('base', 'routeFile', 'routes.php');
// tell the loader to look for said file in the approot
$locator = new FileLocator(APPROOT);
// create a loader for a php file that'll return an array
$this->loader = new PhpFileLoader($locator);
// load the actual routes from the file
$this->routes = $this->loader->load($routeFile);
// create a fresh context for usage later on in the lifecycle
$this->context = new RequestContext();
}