private function registerClassloader()
    {
        // Register core classloader
        require_once ('SplClassLoader.php');

        // Classloader to register
        $register = [
            'Core' => $this->basedir,
            'Apps' => $this->basedir,
            'AppsSec' => $this->basedir,
            'Themes' => $this->basedir
        ];

        // Register classloader
        foreach ($register as $key => $path) {
            $loader = new \SplClassLoader($key, $path);
            $loader->register();
        }
    }