<?php
namespace MicroFW\Core;

use MicroFW\Http\Request, MicroFW\Http\Response;

class Application
{
    /**
     * Start and setup the framework
     *
     * @return void
     */
    public static function setup()
    {
        $request = new Request();
        $response = new Response('Hello everyone!');

        echo($response->getContent());
    }
}

<?php
namespace MicroFW\Core;

use MicroFW\Http\Request, MicroFW\Http\Response, MicroFW\Core\Configurator;

class Application
{
    /**
     * Start and setup the framework
     *
     * @return void
     */
    public static function setup($projectPath)
    {
        $configurator = Configurator::createConfigurator($projectPath);
        $request = new Request($configurator);
        $response = new Response('Hello everyone!');

        echo($response->getContent());
    }
}

Call method for creating configurator
Call method for creating configurator

Configurator will be available in request object
