public function loadConfig()
    {
        // Load / create config file
        if (file_exists($this->baseDir . '/examples/config.php')) {
            include_once($this->baseDir . '/examples/config.php');
        } else {
            define('SECRET', readline('Secret: '));
            define('API_HOST', readline('Api host: '));

            $configTemplate = "<?php" . PHP_EOL
                . "define('SECRET', %s);" . PHP_EOL
                . "define('API_HOST', %s);" . PHP_EOL;

            file_put_contents(
                $this->baseDir . '/examples/config.php',
                sprintf(
                    $configTemplate,
                    var_export(SECRET, true),
                    var_export(API_HOST, true)
                )
            );
        }
    }