public function instance()
    {
        $this->paths();

        $this->environment($this->constants['ENVIRONMENT']);

        $this->constants();

        $this->common();

        $this->config();

        require 'helpers.php';

        $instance = \CI_Controller::get_instance();

        empty($instance) && $instance = new \CI_Controller;

        return $instance;
    }