/**
* Init instance
*
* @return Instance
*/
protected static function initInstance()
{
$instance = new Instance();
$instance->setPath(Application::getInstance()->getPath());
$instance->setEnvironment(Application::getInstance()->getEnvironment());
$instance->init();
return $instance;
}