public function getControllerPath(Route $route)
    {
        $startDir = $this->paths['src'] . '/Controller/';

        if($route->getControllerPath() != null)
        {
            $fullPath = $startDir . $route->getControllerPath() . '/' . $route->getController();
        }
        else
        {
            $fullPath = $startDir . $route->getController();
        }

        if(file_exists($fullPath))
        {
            return $fullPath;
        }
        else
        {
            throw new \Exception("Controller not found at path " . $fullPath);
        }
    }