public function content()
    {
        $path = '../App/' . $this->viewsDir . $this->view . '.phtml';
        if (file_exists($path)) {
            require $path;

        } else {
            die('No view file ' . $this->view . ' present in view directory.');
        }
    }