Added pattern Singletone. Little modified Application.php, bootstwrap.php, config.php.