public static function load($class)
    {
        $classFile = str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php';
        $file = stream_resolve_include_path($classFile);
        if ($file && file_exists($file)) {
            require_once $file;
            return true;
        }
        return false;
    }