$file = Config::get('missions:location') . strtolower(substr($name, 0, -8)) . '.php';
        if (!file_exists($file)) {
            return false;
        }
        require $file;
    }
    public static function initialize($hooks = false)
    {
        if (!isset(self::$instance)) {
            $thisClass = __CLASS__;
            self::$instance = new $thisClass($hooks);
        }
        return self::$instance;
    }
    public function __clone()
    {
        die('Error: Can not be cloned.');
    }
    public function __destruct()
    {
        if (!empty($this->cache) && $this->cache != apc_fetch('lazyLoader_cache')) {
            apc_add('lazyLoader_cache', $this->cache);
        }
    }
}
lazyLoader::initialize();
Log::$start = microtime(true);
$observer = Observer::singleton(array('request/received' => array('startup', 'autoauth', 'dispatch'), 'request/ended' => array('shutdown')));
$observer->trigger("request/received");
$observer->trigger("request/ended");
//Log::general();