public static function instance() { if (!self::$_instance instanceof Shell) { self::$_instance = new self(); } return self::$_instance; }